Commit 1377433b authored by Michael Hanselmann's avatar Michael Hanselmann

QA: Run simple job queue test

Signed-off-by: default avatarMichael Hanselmann <hansmi@google.com>
Reviewed-by: default avatarIustin Pop <iustin@google.com>
parent 29eddf2d
......@@ -85,6 +85,7 @@ def SetupCluster(rapi_user, rapi_secret):
if qa_config.TestEnabled('create-cluster'):
RunTest(qa_cluster.TestClusterInit, rapi_user, rapi_secret)
RunTest(qa_node.TestNodeAddAll)
RunTest(qa_cluster.TestJobqueue)
else:
# consider the nodes are already there
qa_node.MarkNodeAddedAll()
......
......@@ -136,6 +136,16 @@ def TestClusterVerify():
AssertEqual(StartSSH(master['primary'],
utils.ShellQuoteArgs(cmd)).wait(), 0)
def TestJobqueue():
"""gnt-debug test-jobqueue"""
master = qa_config.GetMasterNode()
cmd = ["gnt-debug", "test-jobqueue"]
AssertEqual(StartSSH(master["primary"],
utils.ShellQuoteArgs(cmd)).wait(), 0)
def TestClusterReservedLvs():
"""gnt-cluster reserved lvs"""
master = qa_config.GetMasterNode()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment