Revision 1377433b
b/qa/ganeti-qa.py | ||
---|---|---|
85 | 85 |
if qa_config.TestEnabled('create-cluster'): |
86 | 86 |
RunTest(qa_cluster.TestClusterInit, rapi_user, rapi_secret) |
87 | 87 |
RunTest(qa_node.TestNodeAddAll) |
88 |
RunTest(qa_cluster.TestJobqueue) |
|
88 | 89 |
else: |
89 | 90 |
# consider the nodes are already there |
90 | 91 |
qa_node.MarkNodeAddedAll() |
b/qa/qa_cluster.py | ||
---|---|---|
136 | 136 |
AssertEqual(StartSSH(master['primary'], |
137 | 137 |
utils.ShellQuoteArgs(cmd)).wait(), 0) |
138 | 138 |
|
139 |
|
|
140 |
def TestJobqueue(): |
|
141 |
"""gnt-debug test-jobqueue""" |
|
142 |
master = qa_config.GetMasterNode() |
|
143 |
|
|
144 |
cmd = ["gnt-debug", "test-jobqueue"] |
|
145 |
AssertEqual(StartSSH(master["primary"], |
|
146 |
utils.ShellQuoteArgs(cmd)).wait(), 0) |
|
147 |
|
|
148 |
|
|
139 | 149 |
def TestClusterReservedLvs(): |
140 | 150 |
"""gnt-cluster reserved lvs""" |
141 | 151 |
master = qa_config.GetMasterNode() |
Also available in: Unified diff