summaryrefslogtreecommitdiff
path: root/jstests/dur
diff options
context:
space:
mode:
authorScott Hernandez <scotthernandez@gmail.com>2014-02-26 11:25:50 -0500
committerScott Hernandez <scotthernandez@gmail.com>2014-02-26 12:11:30 -0500
commita56653e1df978f68b887788b39d053e3f88bb0ea (patch)
tree4ba0d7d3114f6edc4a924a6ed40b42632bfe3736 /jstests/dur
parentf4c7d400c8f938374474a37cde54e36168e60b26 (diff)
downloadmongo-a56653e1df978f68b887788b39d053e3f88bb0ea.tar.gz
SERVER-12786: add shell writeMode option
Diffstat (limited to 'jstests/dur')
-rw-r--r--jstests/dur/dur_jscore_passthrough.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/dur/dur_jscore_passthrough.js b/jstests/dur/dur_jscore_passthrough.js
index d79b64ee14b..859be03d456 100644
--- a/jstests/dur/dur_jscore_passthrough.js
+++ b/jstests/dur/dur_jscore_passthrough.js
@@ -8,7 +8,7 @@
conn = startMongodEmpty("--port", 30200, "--dbpath", MongoRunner.dataDir + "/dur_passthrough", "--dur", "--nopreallocj", "--smallfiles",
"--durOptions", "8");
db = conn.getDB("test");
-conn._useWriteCommands = true;
+conn.forceWriteMode("commands");
function doTest() {
var files = listFiles("jstests/core");