summaryrefslogtreecommitdiff
path: root/jstests/readonly
diff options
context:
space:
mode:
authorEsha Maharishi <esha.maharishi@mongodb.com>2016-08-12 10:02:38 -0400
committerEsha Maharishi <esha.maharishi@mongodb.com>2016-08-12 15:24:05 -0400
commit5b6ca35994ae865db7ea3a036cd53aa43a62d2c5 (patch)
tree3f7eb3e9cc28e27c09931c5825f9b9dfc73e27d8 /jstests/readonly
parent5788d423ae4362200df5887486c8db213d799993 (diff)
downloadmongo-5b6ca35994ae865db7ea3a036cd53aa43a62d2c5.tar.gz
SERVER-22663 Make --shardsvr required for a mongod to be used as a shard
Diffstat (limited to 'jstests/readonly')
-rw-r--r--jstests/readonly/lib/read_only_test.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/jstests/readonly/lib/read_only_test.js b/jstests/readonly/lib/read_only_test.js
index e3b68671966..792d64e1d04 100644
--- a/jstests/readonly/lib/read_only_test.js
+++ b/jstests/readonly/lib/read_only_test.js
@@ -67,6 +67,7 @@ var StandaloneFixture, ShardedFixture, runReadOnlyTest, zip2, cycleN;
jsTest.log("restarting shards...");
try {
for (var i = 0; i < this.nShards; ++i) {
+ // TODO(esha): add shardsvr: "" option when this test is re-enabled in SERVER-25549
var opts = {queryableBackupMode: "", dbpath: this.paths[i]};
assert.commandWorked(this.shardingTest["d" + i].getDB("local").dropDatabase());