summaryrefslogtreecommitdiff
path: root/jstests/auth/getMore.js
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/auth/getMore.js
parent0d5370783beeb4936a181dd2f69387da4b5e816c (diff)
downloadmongo-da1e0304e8eb91711ea1c78eb8f62538b53680e7.tar.gz
SERVER-32052 Update ShardingTest to default to starting shard servers as replica sets
Diffstat (limited to 'jstests/auth/getMore.js')
-rw-r--r--jstests/auth/getMore.js9
1 files changed, 7 insertions, 2 deletions
diff --git a/jstests/auth/getMore.js b/jstests/auth/getMore.js
index 569376740fb..ae6c58a8578 100644
--- a/jstests/auth/getMore.js
+++ b/jstests/auth/getMore.js
@@ -260,8 +260,13 @@
MongoRunner.stopMongod(conn);
// Run the test on a sharded cluster.
- let cluster = new ShardingTest(
- {shards: 1, mongos: 1, keyFile: "jstests/libs/key1", other: {shardOptions: {auth: ""}}});
+ // TODO: Remove 'shardAsReplicaSet: false' when SERVER-32672 is fixed.
+ let cluster = new ShardingTest({
+ shards: 1,
+ mongos: 1,
+ keyFile: "jstests/libs/key1",
+ other: {shardOptions: {auth: ""}, shardAsReplicaSet: false}
+ });
runTest(cluster);
cluster.stop();
}());