Revision 288d6440 qa/ganeti-qa.py
b/qa/ganeti-qa.py | ||
---|---|---|
121 | 121 |
""" |
122 | 122 |
RunTestIf("create-cluster", qa_cluster.TestClusterInit, |
123 | 123 |
rapi_user, rapi_secret) |
124 |
|
|
125 |
# Test on empty cluster |
|
126 |
RunTestIf("node-list", qa_node.TestNodeList) |
|
127 |
RunTestIf("instance-list", qa_instance.TestInstanceList) |
|
128 |
|
|
124 | 129 |
RunTestIf("create-cluster", qa_node.TestNodeAddAll) |
125 | 130 |
if not qa_config.TestEnabled("create-cluster"): |
126 | 131 |
# consider the nodes are already there |
... | ... | |
131 | 136 |
# enable the watcher (unconditionally) |
132 | 137 |
RunTest(qa_daemon.TestResumeWatcher) |
133 | 138 |
|
139 |
RunTestIf("node-list", qa_node.TestNodeList) |
|
140 |
|
|
134 | 141 |
RunTestIf("node-info", qa_node.TestNodeInfo) |
135 | 142 |
|
136 | 143 |
|
... | ... | |
217 | 224 |
|
218 | 225 |
RunTestIf("rapi", qa_rapi.TestInstance, instance) |
219 | 226 |
|
227 |
# Lists instances, too |
|
228 |
RunTestIf("node-list", qa_node.TestNodeList) |
|
229 |
|
|
220 | 230 |
|
221 | 231 |
def RunCommonNodeTests(): |
222 | 232 |
"""Run a few common node tests. |
Also available in: Unified diff