From 3e8b5a9cef576dbdab939651359f738fd5ad0ec0 Mon Sep 17 00:00:00 2001 From: Iustin Pop <iustin@google.com> Date: Tue, 12 Apr 2011 16:09:55 +0200 Subject: [PATCH] QA: run the redist-conf command This was (AFAICS) completely missing from the QA suite. Signed-off-by: Iustin Pop <iustin@google.com> Reviewed-by: Guido Trotter <ultrotter@google.com> --- qa/ganeti-qa.py | 1 + qa/qa_cluster.py | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/qa/ganeti-qa.py b/qa/ganeti-qa.py index ecd7ee4d6..ded3cc5e9 100755 --- a/qa/ganeti-qa.py +++ b/qa/ganeti-qa.py @@ -164,6 +164,7 @@ def RunClusterTests(): ("cluster-info", qa_cluster.TestClusterVersion), ("cluster-info", qa_cluster.TestClusterInfo), ("cluster-info", qa_cluster.TestClusterGetmaster), + ("cluster-redist-conf", qa_cluster.TestClusterRedistConf), ("cluster-copyfile", qa_cluster.TestClusterCopyfile), ("cluster-command", qa_cluster.TestClusterCommand), ("cluster-burnin", qa_cluster.TestClusterBurnin), diff --git a/qa/qa_cluster.py b/qa/qa_cluster.py index e98be478b..553c6ffc8 100644 --- a/qa/qa_cluster.py +++ b/qa/qa_cluster.py @@ -251,6 +251,11 @@ def TestClusterInfo(): AssertCommand(["gnt-cluster", "info"]) +def TestClusterRedistConf(): + """gnt-cluster redist-conf""" + AssertCommand(["gnt-cluster", "redist-conf"]) + + def TestClusterGetmaster(): """gnt-cluster getmaster""" AssertCommand(["gnt-cluster", "getmaster"]) -- GitLab