Commit cd04f8c2 authored by Michael Hanselmann's avatar Michael Hanselmann
Browse files

QA: Allow job queue test to be disabled



On my machine it takes over 30 seconds, disabling it can
speed up the QA.
Signed-off-by: default avatarMichael Hanselmann <hansmi@google.com>
Reviewed-by: default avatarIustin Pop <iustin@google.com>
parent 1ac6f2ad
...@@ -101,11 +101,13 @@ def SetupCluster(rapi_user, rapi_secret): ...@@ -101,11 +101,13 @@ def SetupCluster(rapi_user, rapi_secret):
if qa_config.TestEnabled('create-cluster'): if qa_config.TestEnabled('create-cluster'):
RunTest(qa_cluster.TestClusterInit, rapi_user, rapi_secret) RunTest(qa_cluster.TestClusterInit, rapi_user, rapi_secret)
RunTest(qa_node.TestNodeAddAll) RunTest(qa_node.TestNodeAddAll)
RunTest(qa_cluster.TestJobqueue)
else: else:
# consider the nodes are already there # consider the nodes are already there
qa_node.MarkNodeAddedAll() qa_node.MarkNodeAddedAll()
if qa_config.TestEnabled("test-jobqueue"):
RunTest(qa_cluster.TestJobqueue)
# enable the watcher (unconditionally) # enable the watcher (unconditionally)
RunTest(qa_daemon.TestResumeWatcher) RunTest(qa_daemon.TestResumeWatcher)
......
...@@ -38,6 +38,7 @@ ...@@ -38,6 +38,7 @@
"os": true, "os": true,
"tags": true, "tags": true,
"rapi": true, "rapi": true,
"test-jobqueue": true,
"create-cluster": true, "create-cluster": true,
"cluster-verify": true, "cluster-verify": true,
......
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