From f113c6021cb664cb7fc99a9e7a258605d3475b83 Mon Sep 17 00:00:00 2001 From: mpoeter Date: Wed, 15 Sep 2021 11:57:09 +0200 Subject: [PATCH] Reduce nr of combinations and runtime of nightly chaos load tests. --- tests/js/client/chaos/test-chaos-load-common.inc | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/tests/js/client/chaos/test-chaos-load-common.inc b/tests/js/client/chaos/test-chaos-load-common.inc index 00ee7068a3f9..bef14bcd1179 100644 --- a/tests/js/client/chaos/test-chaos-load-common.inc +++ b/tests/js/client/chaos/test-chaos-load-common.inc @@ -306,8 +306,8 @@ function BaseChaosSuite(testOpts) { tests.push(["p" + i, code]); } - // run the suite for 5 minutes - runParallelArangoshTests(tests, 5 * 60, coordination_cn); + // run the suite for 3 minutes + runParallelArangoshTests(tests, 3 * 60, coordination_cn); print("Finished load test - waiting for cluster to get in sync before checking consistency."); clearAllFailurePoints(); @@ -317,7 +317,9 @@ function BaseChaosSuite(testOpts) { }; } -const params = ["IntermediateCommits", "FailurePoints", "Delays", "Truncate", "VaryingOverwriteMode", "StreamingTransactions"]; +const params = ["IntermediateCommits", "FailurePoints", "Delays", "StreamingTransactions"]; + +const fixedParams = ["Truncate", "VaryingOverwriteMode"]; // these parameters are always enabled const makeConfig = (paramValues) => { let suffix = ""; @@ -327,6 +329,10 @@ const makeConfig = (paramValues) => { suffix += params[j]; opts["with" + params[j]] = paramValues[j]; } + for (const p of fixedParams) { + suffix += "_with_" + p; + opts["with" + p] = true; + } return { suffix: suffix, options: opts }; };