0
0
mirror of https://github.com/mongodb/mongo.git synced 2024-12-01 01:21:03 +01:00

SERVER-17363 increase heartbeat timeout for rollback4

This commit is contained in:
Eric Milkie 2015-02-24 11:51:06 -05:00
parent 7eadd4fffe
commit a5030efecd

View File

@ -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);