diff options
author | Eric Milkie <milkie@10gen.com> | 2015-02-24 11:51:06 -0500 |
---|---|---|
committer | Eric Milkie <milkie@10gen.com> | 2015-02-25 13:17:21 -0500 |
commit | a5030efecd2cff00c0cf13f0ce023a8d2c0b6893 (patch) | |
tree | 035b07cf04b46187cf05ad43c5557332dc841736 /jstests/slow2 | |
parent | 7eadd4fffebefcc1f640af08541377d9d5f1f610 (diff) | |
download | mongo-a5030efecd2cff00c0cf13f0ce023a8d2c0b6893.tar.gz |
SERVER-17363 increase heartbeat timeout for rollback4
Diffstat (limited to 'jstests/slow2')
-rw-r--r-- | jstests/slow2/rollback4.js | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/jstests/slow2/rollback4.js b/jstests/slow2/rollback4.js index db1cefe0eab..5c1cc5422ce 100644 --- a/jstests/slow2/rollback4.js +++ b/jstests/slow2/rollback4.js @@ -8,10 +8,13 @@ var nodes = replTest.nodeList(); var conns = replTest.startSet(); var r = replTest.initiate({ "_id": "unicomplex", - "members": [ - { "_id": 0, "host": nodes[0], priority: 2 }, - { "_id": 1, "host": nodes[1] }, - { "_id": 2, "host": nodes[2], arbiterOnly: true}] + "settings": { + "heartbeatTimeoutSecs":30 + }, + "members": [ + { "_id": 0, "host": nodes[0], priority: 2 }, + { "_id": 1, "host": nodes[1] }, + { "_id": 2, "host": nodes[2], arbiterOnly: true}] }, 'replSetInitiate', 600000); replTest.waitForState(replTest.nodes[0], replTest.PRIMARY, 60 * 1000); |