summaryrefslogtreecommitdiff
path: root/jstests/readonly
diff options
context:
space:
mode:
authorjannaerin <golden.janna@gmail.com>2018-02-07 17:38:49 -0500
committerjannaerin <golden.janna@gmail.com>2018-03-09 00:40:40 -0500
commitda1e0304e8eb91711ea1c78eb8f62538b53680e7 (patch)
treee55d32a40a76a39e01d8848c5a17d97ad640b18e /jstests/readonly
parent0d5370783beeb4936a181dd2f69387da4b5e816c (diff)
downloadmongo-da1e0304e8eb91711ea1c78eb8f62538b53680e7.tar.gz
SERVER-32052 Update ShardingTest to default to starting shard servers as replica sets
Diffstat (limited to 'jstests/readonly')
-rw-r--r--jstests/readonly/lib/read_only_test.js8
1 files changed, 7 insertions, 1 deletions
diff --git a/jstests/readonly/lib/read_only_test.js b/jstests/readonly/lib/read_only_test.js
index 434a2b694a9..ab9db5e14cf 100644
--- a/jstests/readonly/lib/read_only_test.js
+++ b/jstests/readonly/lib/read_only_test.js
@@ -52,7 +52,13 @@ var StandaloneFixture, ShardedFixture, runReadOnlyTest, zip2, cycleN;
};
ShardedFixture.prototype.runLoadPhase = function runLoadPhase(test) {
- this.shardingTest = new ShardingTest({nopreallocj: true, mongos: 1, shards: this.nShards});
+ // TODO: SERVER-33444 remove shardAsReplicaSet: false
+ this.shardingTest = new ShardingTest({
+ nopreallocj: true,
+ mongos: 1,
+ shards: this.nShards,
+ other: {shardAsReplicaSet: false}
+ });
this.paths = this.shardingTest.getDBPaths();