diff options
author | Adam Midvidy <amidvidy@gmail.com> | 2016-03-18 14:15:52 -0400 |
---|---|---|
committer | Adam Midvidy <amidvidy@gmail.com> | 2016-03-18 16:24:59 -0400 |
commit | 5549920679a5e0a0cd71dde049d7d1528ca9ffde (patch) | |
tree | 706dfb790bb21b4238b1d7a2761c930b72425cd2 /jstests | |
parent | d04989c650e1289e9d1a466c5e3b8e2dda9de782 (diff) | |
download | mongo-5549920679a5e0a0cd71dde049d7d1528ca9ffde.tar.gz |
SERVER-23130 rename readOnly flag to querableBackupMode and hide it
Diffstat (limited to 'jstests')
-rw-r--r-- | jstests/noPassthrough/read_only_command_line.js | 2 | ||||
-rw-r--r-- | jstests/readonly/lib/read_only_test.js | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/jstests/noPassthrough/read_only_command_line.js b/jstests/noPassthrough/read_only_command_line.js index f3cbed2429f..7e803ea49be 100644 --- a/jstests/noPassthrough/read_only_command_line.js +++ b/jstests/noPassthrough/read_only_command_line.js @@ -15,7 +15,7 @@ MongoRunner.stopMongod(mongod); mongod = MongoRunner.runMongod( - {storageEngine: "mmapv1", readOnly: "", dbpath: dbpath, noCleanData: true}); + {storageEngine: "mmapv1", queryableBackupMode: "", dbpath: dbpath, noCleanData: true}); assert(mongod.getDB("admin").isMaster().readOnly); assert(mongod.getDB("admin").serverStatus().storageEngine.readOnly); MongoRunner.stopMongod(mongod); diff --git a/jstests/readonly/lib/read_only_test.js b/jstests/readonly/lib/read_only_test.js index c0ee79a7370..0b9b1d44398 100644 --- a/jstests/readonly/lib/read_only_test.js +++ b/jstests/readonly/lib/read_only_test.js @@ -32,7 +32,7 @@ StandaloneFixture.prototype.runExecPhase = function runExecPhase(test) { makeDirectoryReadOnly(this.dbpath); var options = { - readOnly: "", + queryableBackupMode: "", noCleanData: true, dbpath: this.dbpath }; @@ -73,7 +73,7 @@ ShardedFixture.prototype.runExecPhase = function runExecPhase(test) { try { for (var i = 0; i < this.nShards; ++i) { var opts = { - readOnly: "", + queryableBackupMode: "", dbpath: this.paths[i] }; |