summaryrefslogtreecommitdiff
path: root/jstests/gle
diff options
context:
space:
mode:
authorJack Mulrow <jack.mulrow@mongodb.com>2017-01-09 13:19:53 -0500
committerJack Mulrow <jack.mulrow@mongodb.com>2017-01-23 13:25:30 -0500
commit84ca21e55efe1bdf97380caaa10079b613f00cac (patch)
treec91b618754407c6055a1a81ee1945a1e2ec653e7 /jstests/gle
parentae04822985f2478c7da1e6821f5fc91b484b9555 (diff)
downloadmongo-84ca21e55efe1bdf97380caaa10079b613f00cac.tar.gz
SERVER-20844 Start ReplSetTests faster wrt initial election
Diffstat (limited to 'jstests/gle')
-rw-r--r--jstests/gle/create_index_gle.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/gle/create_index_gle.js b/jstests/gle/create_index_gle.js
index 2a93521ba57..e9db4846fdd 100644
--- a/jstests/gle/create_index_gle.js
+++ b/jstests/gle/create_index_gle.js
@@ -16,7 +16,7 @@ load('jstests/replsets/rslib.js');
var config = replTest.getReplSetConfig();
// Add a delay long enough so getLastError would actually 'wait' for write concern.
config.members[1].slaveDelay = 3;
- config.version = 2;
+ config.version = replTest.getReplSetConfigFromNode().version + 1;
reconfig(replTest, config, true);