8000 Reduce nr of combinations and runtime of nightly chaos load tests. by mpoeter · Pull Request #14777 · arangodb/arangodb · GitHub
[go: up one dir, main page]

Skip to content

Reduce nr of combinations and runtime of nightly chaos load tests. #14777

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Sep 15, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 9 additions & 3 deletions tests/js/client/chaos/test-chaos-load-common.inc
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand All @@ -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 = "";
Expand All @@ -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 };
};

Expand Down
0