From da1e0304e8eb91711ea1c78eb8f62538b53680e7 Mon Sep 17 00:00:00 2001 From: jannaerin Date: Wed, 7 Feb 2018 17:38:49 -0500 Subject: SERVER-32052 Update ShardingTest to default to starting shard servers as replica sets --- jstests/auth/getMore.js | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'jstests/auth/getMore.js') 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(); }()); -- cgit v1.2.1