Revision 65a884ef
b/qa/ganeti-qa.py | ||
---|---|---|
179 | 179 |
RunTestIf(test, fn) |
180 | 180 |
|
181 | 181 |
|
182 |
def RunRepairDiskSizes(): |
|
183 |
"""Run the repair disk-sizes test. |
|
184 |
|
|
185 |
""" |
|
186 |
RunTestIf("cluster-repair-disk-sizes", qa_cluster.TestClusterRepairDiskSizes) |
|
187 |
|
|
188 |
|
|
182 | 189 |
def RunOsTests(): |
183 | 190 |
"""Runs all tests related to gnt-os. |
184 | 191 |
|
... | ... | |
425 | 432 |
RunTest(qa_rapi.TestRapiInstanceRemove, rapi_instance, use_client) |
426 | 433 |
del rapi_instance |
427 | 434 |
|
428 |
if qa_config.TestEnabled('instance-add-plain-disk'):
|
|
435 |
if qa_config.TestEnabled("instance-add-plain-disk"):
|
|
429 | 436 |
instance = RunTest(qa_instance.TestInstanceAddWithPlainDisk, pnode) |
430 | 437 |
RunCommonInstanceTests(instance) |
431 | 438 |
RunGroupListTests() |
432 | 439 |
RunTest(qa_cluster.TestClusterEpo) |
433 | 440 |
RunExportImportTests(instance, pnode, None) |
434 | 441 |
RunDaemonTests(instance, pnode) |
442 |
RunRepairDiskSizes() |
|
435 | 443 |
RunTest(qa_instance.TestInstanceRemove, instance) |
436 | 444 |
del instance |
437 | 445 |
|
... | ... | |
456 | 464 |
RunTest(qa_instance.TestInstanceStartup, instance) |
457 | 465 |
RunExportImportTests(instance, pnode, snode) |
458 | 466 |
RunHardwareFailureTests(instance, pnode, snode) |
467 |
RunRepairDiskSizes() |
|
459 | 468 |
RunTest(qa_instance.TestInstanceRemove, instance) |
460 | 469 |
del instance |
461 | 470 |
finally: |
b/qa/qa-sample.json | ||
---|---|---|
62 | 62 |
"cluster-reserved-lvs": true, |
63 | 63 |
"cluster-modify": true, |
64 | 64 |
"cluster-oob": true, |
65 |
"cluster-redist-conf": true, |
|
66 |
"cluster-repair-disk-sizes": true, |
|
65 | 67 |
|
66 | 68 |
"group-list": true, |
67 | 69 |
"group-rwops": true, |
b/qa/qa_cluster.py | ||
---|---|---|
466 | 466 |
def TestClusterDestroy(): |
467 | 467 |
"""gnt-cluster destroy""" |
468 | 468 |
AssertCommand(["gnt-cluster", "destroy", "--yes-do-it"]) |
469 |
|
|
470 |
|
|
471 |
def TestClusterRepairDiskSizes(): |
|
472 |
"""gnt-cluster repair-disk-sizes""" |
|
473 |
AssertCommand(["gnt-cluster", "repair-disk-sizes"]) |
Also available in: Unified diff