Commit 399aa2ec authored by Thomas Thrainer's avatar Thomas Thrainer
Browse files

Add QA config flag for all performance tests



Add a config flag similar to "os", "env" or "rapi" which disables all
performance related tests centrally. The individual config flags for
jobqueue and parallel processing focused tests are not touched.

Also, add the flags to qa-sample.json.

This fixes issue 826.
Signed-off-by: default avatarThomas Thrainer <thomasth@google.com>
Reviewed-by: default avatarHelga Velroyen <helgav@google.com>
parent d8e19f53
......@@ -786,6 +786,10 @@ def RunMonitoringTests():
def RunPerformanceTests():
if not qa_config.TestEnabled("performance"):
ReportTestSkip("performance related tests", "performance")
return
if qa_config.TestEnabled("jobqueue-performance"):
RunTest(qa_performance.TestParallelMaxInstanceCreationPerformance)
RunTest(qa_performance.TestParallelNodeCountInstanceCreationPerformance)
......
......@@ -149,6 +149,7 @@
"os": true,
"tags": true,
"rapi": true,
"performance": true,
"test-jobqueue": true,
"delay": true,
......@@ -223,6 +224,9 @@
"job-list": true,
"jobqueue-performance": true,
"parallel-performance": true,
"# cron/ganeti-watcher should be disabled for these tests": null,
"instance-automatic-restart": false,
"instance-consecutive-failures": false,
......
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