summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMohammad Dashti <mdashti@gmail.com>2021-07-21 22:42:53 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2021-07-21 23:04:32 +0000
commite086e0b8dbbc183331fcb9e1a8bd63e350a2e680 (patch)
tree7b9cc71a16644a23aa6a839fe3b7ace0fdd221ac
parent2e35876d1beefc2d7f62aa935874370d82ce0672 (diff)
downloadmongo-e086e0b8dbbc183331fcb9e1a8bd63e350a2e680.tar.gz
SERVER-58707 Move bench_test*.js tests out of parallel test job
-rw-r--r--jstests/libs/parallelTester.js8
1 files changed, 8 insertions, 0 deletions
diff --git a/jstests/libs/parallelTester.js b/jstests/libs/parallelTester.js
index 2b6f647f563..fb4edc625eb 100644
--- a/jstests/libs/parallelTester.js
+++ b/jstests/libs/parallelTester.js
@@ -220,6 +220,14 @@ if (typeof _threadInject != "undefined") {
// Assumes that other tests are not creating API version 1 incompatible data.
"validate_db_metadata_command.js",
+
+ // The tests in 'bench_test*.js' files use 'benchRun()'. The main purpose of
+ // 'benchRun()' is for performance testing and the 'benchRun()' implementation itself
+ // launches multiple threads internally, it's not necessary to keep 'bench_test*.js'
+ // within the parallel test job.
+ "bench_test1.js",
+ "bench_test2.js",
+ "bench_test3.js",
]);
// Get files, including files in subdirectories.