Skip to content
Snippets Groups Projects
Commit 5a85b99e authored by Michael Hanselmann's avatar Michael Hanselmann
Browse files

Add QA test for “gnt-debug delay”


This would have caught a bug introduced with the recent RPC changes.

Signed-off-by: default avatarMichael Hanselmann <hansmi@google.com>
Reviewed-by: default avatarIustin Pop <iustin@google.com>
parent 52808305
No related branches found
No related tags found
No related merge requests found
......@@ -425,6 +425,7 @@ def RunQa():
try:
RunTestIf("node-readd", qa_node.TestNodeReadd, pnode)
RunTestIf("node-modify", qa_node.TestNodeModify, pnode)
RunTestIf("delay", qa_cluster.TestDelay, pnode)
finally:
qa_config.ReleaseNode(pnode)
......
......@@ -56,6 +56,7 @@
"tags": true,
"rapi": true,
"test-jobqueue": true,
"delay": true,
"create-cluster": true,
"cluster-verify": true,
......
......@@ -226,6 +226,14 @@ def TestJobqueue():
AssertCommand(["gnt-debug", "test-jobqueue"])
def TestDelay(node):
"""gnt-debug delay"""
AssertCommand(["gnt-debug", "delay", "1"])
AssertCommand(["gnt-debug", "delay", "--no-master", "1"])
AssertCommand(["gnt-debug", "delay", "--no-master",
"-n", node["primary"], "1"])
def TestClusterReservedLvs():
"""gnt-cluster reserved lvs"""
for fail, cmd in [
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment