diff options
| author | Jack Mulrow <jack.mulrow@mongodb.com> | 2017-01-09 13:19:53 -0500 |
|---|---|---|
| committer | Judah Schvimer <judah@mongodb.com> | 2017-02-06 17:34:33 -0500 |
| commit | 0e1edc1a13cf6dfaa51f36ec2584a73b0fbf97df (patch) | |
| tree | 265f7d8bdccb1c4820a3553a70869ff845982f57 /jstests/noPassthroughWithMongod | |
| parent | ccf37ae4bc1b150697b054d8c3a2e0b9e16f9ff8 (diff) | |
| download | mongo-0e1edc1a13cf6dfaa51f36ec2584a73b0fbf97df.tar.gz | |
SERVER-20844 Start ReplSetTests faster wrt initial election
(cherry picked from commit 84ca21e55efe1bdf97380caaa10079b613f00cac)
Diffstat (limited to 'jstests/noPassthroughWithMongod')
| -rw-r--r-- | jstests/noPassthroughWithMongod/ttl_repl.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/noPassthroughWithMongod/ttl_repl.js b/jstests/noPassthroughWithMongod/ttl_repl.js index 794f0c3ad90..79892cb93b1 100644 --- a/jstests/noPassthroughWithMongod/ttl_repl.js +++ b/jstests/noPassthroughWithMongod/ttl_repl.js @@ -66,7 +66,7 @@ assert.eq(6, slave1col.count(), "docs not deleted on secondary"); // add a new secondary, wait for it to fully join var slave = rt.add(); var config = rt.getReplSetConfig(); -config.version = 2; +config.version = rt.getReplSetConfigFromNode().version + 1; reconfig(rt, config); var slave2col = slave.getDB('d')['c']; |
