summaryrefslogtreecommitdiff
path: root/jstests/noPassthrough/stepdown_query.js
diff options
context:
space:
mode:
authorMisha Tyulenev <misha@mongodb.com>2018-05-01 15:44:15 -0400
committerMisha Tyulenev <misha@mongodb.com>2018-05-02 15:07:45 -0400
commitc76e75fef1d18b8e2869707d8d9180d5ae328b75 (patch)
tree188ca5b9af96f3698370fd386c33000f861282bf /jstests/noPassthrough/stepdown_query.js
parent6fdc0e7d43a3a6550f8d93ec2cdfa25e23a0bdba (diff)
downloadmongo-c76e75fef1d18b8e2869707d8d9180d5ae328b75.tar.gz
SERVER-34775 make stepdown_query.js test deterministic
Diffstat (limited to 'jstests/noPassthrough/stepdown_query.js')
-rw-r--r--jstests/noPassthrough/stepdown_query.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/jstests/noPassthrough/stepdown_query.js b/jstests/noPassthrough/stepdown_query.js
index 36ae6289075..68440caeabe 100644
--- a/jstests/noPassthrough/stepdown_query.js
+++ b/jstests/noPassthrough/stepdown_query.js
@@ -65,8 +65,8 @@ TestData.skipCheckingUUIDsConsistentAcrossCluster = true;
rst.stopSet();
// Test querying a replica set primary through mongos.
- var st = new ShardingTest({shards: 1, rs: true});
+ var st = new ShardingTest({shards: 1, rs: {nodes: 2}, config: 2});
rst = st.rs0;
- runTest(st.s0.host, rst);
+ runTest(st.s0.host, rst, true);
st.stop();
})();