summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTess Avitabile <tess.avitabile@mongodb.com>2018-11-13 11:40:00 -0500
committerTess Avitabile <tess.avitabile@mongodb.com>2018-11-14 13:04:24 -0500
commita058fc68c52fcc86a4c612c0093a566ea05e853d (patch)
tree8b239928a1b2e0012dd276c2bec147d52cb2844e /src
parent087f25379e9069f9034249e6e1000b1e2d29efaa (diff)
downloadmongo-a058fc68c52fcc86a4c612c0093a566ea05e853d.tar.gz
SERVER-38055 Mongod servers started through the shell must respect TestData.enableMajorityReadConcern
Diffstat (limited to 'src')
-rw-r--r--src/mongo/shell/servers.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/shell/servers.js b/src/mongo/shell/servers.js
index 2119e5cef2f..61cb853173d 100644
--- a/src/mongo/shell/servers.js
+++ b/src/mongo/shell/servers.js
@@ -1146,7 +1146,7 @@ var MongoRunner, _startMongod, startMongoProgram, runMongoProgram, startMongoPro
if (programName.endsWith('mongod')) {
if (jsTest.options().storageEngine === "wiredTiger" ||
!jsTest.options().storageEngine) {
- if (jsTest.options().enableMajorityReadConcern &&
+ if (jsTest.options().enableMajorityReadConcern !== undefined &&
!argArrayContains("--enableMajorityReadConcern")) {
argArray.push(
...['--enableMajorityReadConcern',