Revision 938bde86 qa/qa_rapi.py
b/qa/qa_rapi.py | ||
---|---|---|
341 | 341 |
qa_config.ReleaseInstance(instance) |
342 | 342 |
|
343 | 343 |
|
344 |
def TestRapiInstanceMigrate(instance): |
|
345 |
"""Test migrating instance via RAPI""" |
|
346 |
# Move to secondary node |
|
347 |
_WaitForRapiJob(_rapi_client.MigrateInstance(instance["name"])) |
|
348 |
# And back to previous primary |
|
349 |
_WaitForRapiJob(_rapi_client.MigrateInstance(instance["name"])) |
|
350 |
|
|
351 |
|
|
344 | 352 |
def TestInterClusterInstanceMove(src_instance, dest_instance, pnode, snode): |
345 | 353 |
"""Test tools/move-instance""" |
346 | 354 |
master = qa_config.GetMasterNode() |
Also available in: Unified diff