Revision 1010ec70
b/qa/qa-sample.json | ||
---|---|---|
66 | 66 |
"instance-add-drbd-disk": true, |
67 | 67 |
"instance-convert-disk": true, |
68 | 68 |
|
69 |
"instance-automatic-restart": false, |
|
70 |
"instance-consecutive-failures": false, |
|
71 | 69 |
"instance-export": true, |
72 | 70 |
"instance-failover": true, |
73 | 71 |
"instance-import": true, |
... | ... | |
80 | 78 |
"instance-rename": true, |
81 | 79 |
"instance-shutdown": true, |
82 | 80 |
|
81 |
"# cron/ganeti-watcher should be disabled for these tests": null, |
|
82 |
"instance-automatic-restart": false, |
|
83 |
"instance-consecutive-failures": false, |
|
84 |
|
|
83 | 85 |
"# This test might fail with certain hypervisor types, depending": null, |
84 | 86 |
"# on whether they support the `gnt-instance console' command.": null, |
85 | 87 |
"instance-console": false, |
b/qa/qa_config.py | ||
---|---|---|
60 | 60 |
|
61 | 61 |
|
62 | 62 |
def TestEnabled(test): |
63 |
"""Returns True if the given test is enabled.""" |
|
64 |
return cfg.get('tests', {}).get(test, False) |
|
63 |
"""Returns True if the given test is enabled. |
|
64 |
|
|
65 |
""" |
|
66 |
return cfg.get("tests", {}).get(test, True) |
|
65 | 67 |
|
66 | 68 |
|
67 | 69 |
def GetMasterNode(): |
Also available in: Unified diff