summaryrefslogtreecommitdiff
path: root/jstests/replsets/initial_sync4.js
diff options
context:
space:
mode:
authorApollon Oikonomopoulos <apoikos@debian.org>2018-12-03 20:45:58 +0200
committerApollon Oikonomopoulos <apoikos@debian.org>2018-12-03 20:45:58 +0200
commit239aabeb53a8dcd45eac7d069e0cb0180b4bc412 (patch)
treec1642d9d026783a026d41a2ae3e1920fa31edb71 /jstests/replsets/initial_sync4.js
parent3896a4a134ae19f25de14727862898cee19aa2e3 (diff)
New upstream version 3.4.18upstream/3.4.18
Diffstat (limited to 'jstests/replsets/initial_sync4.js')
-rw-r--r--jstests/replsets/initial_sync4.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/replsets/initial_sync4.js b/jstests/replsets/initial_sync4.js
index e0ff50af4a2..031acdf35c3 100644
--- a/jstests/replsets/initial_sync4.js
+++ b/jstests/replsets/initial_sync4.js
@@ -34,7 +34,7 @@
var config = replTest.getReplSetConfig();
config.version = replTest.getReplSetConfigFromNode().version + 1;
- config.members.push({_id: 2, host: hostname + ":" + s.port, priority: 0});
+ config.members.push({_id: 2, host: hostname + ":" + s.port, priority: 0, votes: 0});
try {
m.getDB("admin").runCommand({replSetReconfig: config});
} catch (e) {