summaryrefslogtreecommitdiff
path: root/jstests/replsets/libs
diff options
context:
space:
mode:
authorTess Avitabile <tess.avitabile@mongodb.com>2018-07-06 11:52:30 -0400
committerTess Avitabile <tess.avitabile@mongodb.com>2018-07-06 12:58:29 -0400
commit06428575d5191ddf815e1e14867132b6bf05a683 (patch)
tree515fc14c7b4dc0f86e5350862dc6a6da9e00518e /jstests/replsets/libs
parentc17d9bc2b70e978e69b53644168cb6b183f73cea (diff)
downloadmongo-06428575d5191ddf815e1e14867132b6bf05a683.tar.gz
SERVER-35992 Secondary should have no vote in SecondaryReadsTest
Diffstat (limited to 'jstests/replsets/libs')
-rw-r--r--jstests/replsets/libs/secondary_reads_test.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/replsets/libs/secondary_reads_test.js b/jstests/replsets/libs/secondary_reads_test.js
index 67485b65105..2ca1117b6ed 100644
--- a/jstests/replsets/libs/secondary_reads_test.js
+++ b/jstests/replsets/libs/secondary_reads_test.js
@@ -32,7 +32,7 @@ function SecondaryReadsTest(name = "secondary_reads_test") {
const nodes = replSet.nodeList();
replSet.initiate({
_id: name,
- members: [{_id: 0, host: nodes[0]}, {_id: 1, host: nodes[1], priority: 0}]
+ members: [{_id: 0, host: nodes[0]}, {_id: 1, host: nodes[1], priority: 0, votes: 0}]
});
return replSet;
}