diff options
author | Jack Mulrow <jack.mulrow@mongodb.com> | 2017-01-09 13:19:53 -0500 |
---|---|---|
committer | Jack Mulrow <jack.mulrow@mongodb.com> | 2017-01-23 13:25:30 -0500 |
commit | 84ca21e55efe1bdf97380caaa10079b613f00cac (patch) | |
tree | c91b618754407c6055a1a81ee1945a1e2ec653e7 /jstests/replsets/initial_sync1.js | |
parent | ae04822985f2478c7da1e6821f5fc91b484b9555 (diff) | |
download | mongo-84ca21e55efe1bdf97380caaa10079b613f00cac.tar.gz |
SERVER-20844 Start ReplSetTests faster wrt initial election
Diffstat (limited to 'jstests/replsets/initial_sync1.js')
-rw-r--r-- | jstests/replsets/initial_sync1.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/replsets/initial_sync1.js b/jstests/replsets/initial_sync1.js index 3087793dcd1..cf876a7f1b2 100644 --- a/jstests/replsets/initial_sync1.js +++ b/jstests/replsets/initial_sync1.js @@ -57,7 +57,7 @@ var local_s2 = slave2.getDB("local"); var admin_s2 = slave2.getDB("admin"); var config = replTest.getReplSetConfig(); -config.version = 2; +config.version = replTest.getReplSetConfigFromNode().version + 1; config.members.push({_id: 2, host: slave2.host}); try { admin.runCommand({replSetReconfig: config}); |