summaryrefslogtreecommitdiff
path: root/buildscripts/resmokelib/core
diff options
context:
space:
mode:
authorHaley Connelly <haley.connelly@mongodb.com>2022-09-28 12:55:00 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2022-09-28 13:24:47 +0000
commita4a3eba2a0e0a839ca6213491361269b42e12761 (patch)
tree3ff024597b1d8a452faf0008da13df72be1615de /buildscripts/resmokelib/core
parent8c39533bc7af757abc5247870a7863beee4f8f88 (diff)
downloadmongo-a4a3eba2a0e0a839ca6213491361269b42e12761.tar.gz
SERVER-69850 Prevent compact command from running when the config fuzzer is enabled
Diffstat (limited to 'buildscripts/resmokelib/core')
-rw-r--r--buildscripts/resmokelib/core/programs.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/buildscripts/resmokelib/core/programs.py b/buildscripts/resmokelib/core/programs.py
index 11f40520752..f4b1100e4bd 100644
--- a/buildscripts/resmokelib/core/programs.py
+++ b/buildscripts/resmokelib/core/programs.py
@@ -253,6 +253,11 @@ def mongo_shell_program(logger, executable=None, connection_string=None, filenam
# semantically correct before shutting down a ShardingTest.
eval_sb.append("load('jstests/libs/override_methods/check_routing_table_consistency.js');")
+ if config.FUZZ_MONGOD_CONFIGS is not None and config.FUZZ_MONGOD_CONFIGS is not False:
+ # Prevent commands from running with the config fuzzer.
+ eval_sb.append(
+ "load('jstests/libs/override_methods/config_fuzzer_incompatible_commands.js');")
+
# Load this file to retry operations that fail due to in-progress background operations.
eval_sb.append(
"load('jstests/libs/override_methods/implicitly_retry_on_background_op_in_progress.js');")