8000 Reduce nr of combinations and runtime of nightly chaos load tests. (#… · arangodb/arangodb@958ae77 · GitHub
[go: up one dir, main page]

Skip to content

Commit 958ae77

Browse files
authored
Reduce nr of combinations and runtime of nightly chaos load tests. (#14777)
1 parent fef43cc commit 958ae77

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

tests/js/client/chaos/test-chaos-load-common.inc

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -306,8 +306,8 @@ function BaseChaosSuite(testOpts) {
306306
tests.push([&qu 8000 ot;p" + i, code]);
307307
}
308308

309-
// run the suite for 5 minutes
310-
runParallelArangoshTests(tests, 5 * 60, coordination_cn);
309+
// run the suite for 3 minutes
310+
runParallelArangoshTests(tests, 3 * 60, coordination_cn);
311311

312312
print("Finished load test - waiting for cluster to get in sync before checking consistency.");
313313
clearAllFailurePoints();
@@ -317,7 +317,9 @@ function BaseChaosSuite(testOpts) {
317317
};
318318
}
319319

320-
const params = ["IntermediateCommits", "FailurePoints", "Delays", "Truncate", "VaryingOverwriteMode", "StreamingTransactions"];
320+
const params = ["IntermediateCommits", "FailurePoints", "Delays", "StreamingTransactions"];
321+
322+
const fixedParams = ["Truncate", "VaryingOverwriteMode"]; // these parameters are always enabled
321323

322324
const makeConfig = (paramValues) => {
323325
let suffix = "";
@@ -327,6 +329,10 @@ const makeConfig = (paramValues) => {
327329
suffix += params[j];
328330
opts["with" + params[j]] = paramValues[j];
329331
}
332+
for (const p of fixedParams) {
333+
suffix += "_with_" + p;
334+
opts["with" + p] = true;
335+
}
330336
return { suffix: suffix, options: opts };
331337
};
332338

0 commit comments

Comments
 (0)
0