Revision 76f59a32
b/qa/ganeti-qa.py | ||
---|---|---|
211 | 211 |
RunTest(qa_instance.TestInstanceFailover, instance) |
212 | 212 |
|
213 | 213 |
if qa_config.TestEnabled('instance-replace-disks'): |
214 |
othernode = qa_config.AcquireNode(exclude=pnode)
|
|
214 |
othernode = qa_config.AcquireNode(exclude=[pnode, snode])
|
|
215 | 215 |
try: |
216 | 216 |
RunTest(qa_instance.TestReplaceDisks, |
217 | 217 |
instance, pnode, snode, othernode) |
b/qa/qa_instance.py | ||
---|---|---|
142 | 142 |
AssertEqual(StartSSH(master['primary'], |
143 | 143 |
utils.ShellQuoteArgs(cmd)).wait(), 0) |
144 | 144 |
|
145 |
# ... and back |
|
146 |
cmd = ['gnt-instance', 'failover', '--force', instance['name']] |
|
147 |
AssertEqual(StartSSH(master['primary'], |
|
148 |
utils.ShellQuoteArgs(cmd)).wait(), 0) |
|
149 |
|
|
145 | 150 |
|
146 | 151 |
@qa_utils.DefineHook('instance-info') |
147 | 152 |
def TestInstanceInfo(instance): |
Also available in: Unified diff