summaryrefslogtreecommitdiff
path: root/jstests
diff options
context:
space:
mode:
authorMathias Stearn <mathias@10gen.com>2017-04-04 16:15:29 -0400
committerMathias Stearn <mathias@10gen.com>2017-04-12 08:57:12 -0400
commit4cefd9e258b71ad13a1b992f24c96417e588c45f (patch)
tree56d17b4f7c8eec63b46708946e0d4c593c88e6ba /jstests
parent269a1e81c9d630ddf2a802a22a5bdcc9a0ff1b2b (diff)
downloadmongo-4cefd9e258b71ad13a1b992f24c96417e588c45f.tar.gz
SERVER-28622 Make readmode_compatibility.js work without explicit --storageEngine
This makes `resmoke.py --suite=multiversion` work locally with no extra flags.
Diffstat (limited to 'jstests')
-rw-r--r--jstests/multiVersion/readmode_compatibility.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/multiVersion/readmode_compatibility.js b/jstests/multiVersion/readmode_compatibility.js
index 2e2ca2774cb..cd3ffcf3b4c 100644
--- a/jstests/multiVersion/readmode_compatibility.js
+++ b/jstests/multiVersion/readmode_compatibility.js
@@ -4,7 +4,7 @@
(function() {
'use strict';
- var storageEngine = jsTest.options().storageEngine;
+ var storageEngine = jsTest.options().storageEngine || 'wiredTiger';
var conn30 = MongoRunner.runMongod({binVersion: '3.0', storageEngine: storageEngine});
assert.neq(conn30, null, 'unable to start 3.0 mongod');