Merge branch 'stable-2.14' into stable-2.15
[ganeti-github.git] / qa / ganeti-qa.py
index 5d9748b..84468b2 100755 (executable)
@@ -905,6 +905,10 @@ def RunPerformanceTests():
     ReportTestSkip("performance related tests", "performance")
     return
 
+  # For reproducable performance, run performance tests with the watcher
+  # paused.
+  qa_utils.AssertCommand(["gnt-cluster", "watcher", "pause", "4h"])
+
   if qa_config.TestEnabled("jobqueue-performance"):
     RunTest(qa_performance.TestParallelMaxInstanceCreationPerformance)
     RunTest(qa_performance.TestParallelNodeCountInstanceCreationPerformance)
@@ -940,6 +944,8 @@ def RunPerformanceTests():
     finally:
       qa_config.ReleaseManyNodes(inodes)
 
+  qa_utils.AssertCommand(["gnt-cluster", "watcher", "continue"])
+
 
 def RunQa():
   """Main QA body.