diff options
author | Tess Avitabile <tess.avitabile@mongodb.com> | 2018-07-06 11:52:30 -0400 |
---|---|---|
committer | Tess Avitabile <tess.avitabile@mongodb.com> | 2018-07-06 12:58:29 -0400 |
commit | 06428575d5191ddf815e1e14867132b6bf05a683 (patch) | |
tree | 515fc14c7b4dc0f86e5350862dc6a6da9e00518e /jstests/replsets/libs | |
parent | c17d9bc2b70e978e69b53644168cb6b183f73cea (diff) | |
download | mongo-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.js | 2 |
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; } |