summaryrefslogtreecommitdiff
path: root/buildscripts/resmokelib/core/programs.py
diff options
context:
space:
mode:
Diffstat (limited to 'buildscripts/resmokelib/core/programs.py')
-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 cce38bcd054..929157dbf9e 100644
--- a/buildscripts/resmokelib/core/programs.py
+++ b/buildscripts/resmokelib/core/programs.py
@@ -58,6 +58,11 @@ def mongod_program(logger, executable=None, process_kwargs=None, **kwargs):
else:
kwargs[opt_name] = shortcut_opts[opt_name]
+ # Override the storage engine specified on the command line with "wiredTiger" if running a
+ # config server replica set.
+ if "replSet" in kwargs and "configsvr" in kwargs:
+ kwargs["storageEngine"] = "wiredTiger"
+
# Apply the rest of the command line arguments.
_apply_kwargs(args, kwargs)