summaryrefslogtreecommitdiff
path: root/jstests/sharding/safe_secondary_reads_drop_recreate.js
diff options
context:
space:
mode:
Diffstat (limited to 'jstests/sharding/safe_secondary_reads_drop_recreate.js')
-rw-r--r--jstests/sharding/safe_secondary_reads_drop_recreate.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/jstests/sharding/safe_secondary_reads_drop_recreate.js b/jstests/sharding/safe_secondary_reads_drop_recreate.js
index 85f3bc6e19b..7375971afd1 100644
--- a/jstests/sharding/safe_secondary_reads_drop_recreate.js
+++ b/jstests/sharding/safe_secondary_reads_drop_recreate.js
@@ -501,8 +501,8 @@ let scenarios = {
}
};
-// Set the secondaries to priority 0 and votes 0 to prevent the primaries from stepping down.
-let rsOpts = {nodes: [{rsConfig: {votes: 1}}, {rsConfig: {priority: 0, votes: 0}}]};
+// Set the secondaries to priority 0 to prevent the primaries from stepping down.
+let rsOpts = {nodes: [{}, {rsConfig: {priority: 0}}]};
let st = new ShardingTest({mongos: 2, shards: {rs0: rsOpts, rs1: rsOpts}});
let freshMongos = st.s0;