summaryrefslogtreecommitdiff
path: root/jstests/readonly/lib/read_only_test.js
diff options
context:
space:
mode:
Diffstat (limited to 'jstests/readonly/lib/read_only_test.js')
-rw-r--r--jstests/readonly/lib/read_only_test.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/jstests/readonly/lib/read_only_test.js b/jstests/readonly/lib/read_only_test.js
index 04e1e2186ba..3a631a66057 100644
--- a/jstests/readonly/lib/read_only_test.js
+++ b/jstests/readonly/lib/read_only_test.js
@@ -52,7 +52,9 @@ ShardedFixture = function() {
};
ShardedFixture.prototype.runLoadPhase = function runLoadPhase(test) {
- // TODO: SERVER-33830 remove shardAsReplicaSet: false
+ // TODO: SERVER-43758 Tests where shards are started in read-only mode
+ // cannot use replica set shards, because replication requires doing writes
+ // to run an election.
this.shardingTest =
new ShardingTest({mongos: 1, shards: this.nShards, other: {shardAsReplicaSet: false}});