Revision 938bde86 qa/qa_instance.py
b/qa/qa_instance.py | ||
---|---|---|
160 | 160 |
utils.ShellQuoteArgs(cmd)).wait(), 0) |
161 | 161 |
|
162 | 162 |
|
163 |
def TestInstanceMigrate(instance): |
|
164 |
"""gnt-instance migrate""" |
|
165 |
master = qa_config.GetMasterNode() |
|
166 |
|
|
167 |
cmd = ["gnt-instance", "migrate", "--force", instance["name"]] |
|
168 |
AssertEqual(StartSSH(master["primary"], |
|
169 |
utils.ShellQuoteArgs(cmd)).wait(), 0) |
|
170 |
|
|
171 |
# ... and back |
|
172 |
cmd = ["gnt-instance", "migrate", "--force", instance["name"]] |
|
173 |
AssertEqual(StartSSH(master["primary"], |
|
174 |
utils.ShellQuoteArgs(cmd)).wait(), 0) |
|
175 |
|
|
176 |
|
|
163 | 177 |
def TestInstanceInfo(instance): |
164 | 178 |
"""gnt-instance info""" |
165 | 179 |
master = qa_config.GetMasterNode() |
Also available in: Unified diff