summaryrefslogtreecommitdiff
path: root/buildscripts
diff options
context:
space:
mode:
authorGregory Wlodarek <gregory.wlodarek@mongodb.com>2022-04-21 00:14:06 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2022-04-21 01:33:45 +0000
commitdfdb4987239689bcaeee0af7dad15698cca5af33 (patch)
tree92811bdfe0bc387a54657e49a460cf381a2c2425 /buildscripts
parent8c438c6c733b3a79236cf578da8e24d9b26881bf (diff)
downloadmongo-dfdb4987239689bcaeee0af7dad15698cca5af33.tar.gz
SERVER-65849 Run simulate_crash.py hook with test commands enabled
(cherry picked from commit 51b3e37f59c770592b75c23084ca6143335fbc7f)
Diffstat (limited to 'buildscripts')
-rw-r--r--buildscripts/resmokelib/testing/hooks/simulate_crash.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/buildscripts/resmokelib/testing/hooks/simulate_crash.py b/buildscripts/resmokelib/testing/hooks/simulate_crash.py
index 4f5db37baf9..645ff9a4f35 100644
--- a/buildscripts/resmokelib/testing/hooks/simulate_crash.py
+++ b/buildscripts/resmokelib/testing/hooks/simulate_crash.py
@@ -108,7 +108,8 @@ class SimulateCrash(bghook.BGHook):
mdb = process.Process(self.logger, [
node.mongod_executable, "--dbpath", path, "--port",
str(self.validate_port), "--logpath",
- node.get_dbpath_prefix() + "/simulateCrashes/validate.log"
+ node.get_dbpath_prefix() + "/simulateCrashes/validate.log", "--setParameter",
+ "enableTestCommands=1"
])
mdb.start()