summaryrefslogtreecommitdiff
path: root/jstests/readonly
diff options
context:
space:
mode:
authorAdam Midvidy <amidvidy@gmail.com>2016-03-01 11:52:37 -0500
committerAdam Midvidy <amidvidy@gmail.com>2016-03-02 08:42:28 -0500
commit1b0377c6b1f4b47d4d7e7a01f59d63584610b311 (patch)
tree5b28f90403e327d7db53000d6a17d2b76a0219dd /jstests/readonly
parent104a139a91ead4af3544c5ff8f70a0c8d1e4d976 (diff)
downloadmongo-1b0377c6b1f4b47d4d7e7a01f59d63584610b311.tar.gz
SERVER-22358 add readOnly mode support for WiredTiger
Diffstat (limited to 'jstests/readonly')
-rw-r--r--jstests/readonly/lib/read_only_test.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/jstests/readonly/lib/read_only_test.js b/jstests/readonly/lib/read_only_test.js
index fe0d654d519..d544cf5bd08 100644
--- a/jstests/readonly/lib/read_only_test.js
+++ b/jstests/readonly/lib/read_only_test.js
@@ -24,9 +24,8 @@ function runReadOnlyTest(test) {
assert.eq(typeof(test.load), 'function');
assert.eq(typeof(test.name), 'string');
- // TODO: read storageEngine from testData when read-only mode is supported in WiredTiger.
var options = {
- storageEngine: 'mmapv1',
+ storageEngine: TestData.storageEngine,
nopreallocj: ''
};