diff --git a/jstests/repl/repl6.js b/jstests/repl/repl6.js index f4fdc9be7531e..16b80ce318819 100644 --- a/jstests/repl/repl6.js +++ b/jstests/repl/repl6.js @@ -5,7 +5,7 @@ var baseName = "jstests_repl6test"; soonCount = function( m, count ) { assert.soon( function() { return m.getDB( baseName ).a.find().count() == count; - }, "expected count: " + count + " from : " + m ); + }, "expected count: " + count + " from : " + m, 60 * 1000); } doTest = function( signal ) { diff --git a/jstests/replsets/rollback_too_new.js b/jstests/replsets/rollback_too_new.js index 28e17dc2db1db..d57a1907c1810 100644 --- a/jstests/replsets/rollback_too_new.js +++ b/jstests/replsets/rollback_too_new.js @@ -56,6 +56,6 @@ assert.soon(function() { catch (e) { return false; } -}, "B failed to go FATAL"); +}, "B failed to go FATAL", 60 * 1000); replTest.stopSet(); diff --git a/jstests/replsets/rslib.js b/jstests/replsets/rslib.js index 8b7d2ed126397..6484d1864ca59 100644 --- a/jstests/replsets/rslib.js +++ b/jstests/replsets/rslib.js @@ -11,7 +11,7 @@ var wait = function(f,msg) { if (++n == 4) { print("" + f); } - assert(n < 200, 'tried 200 times, giving up on ' + msg ); + assert(n < 400, 'tried 400 times, giving up on ' + msg ); sleep(1000); } }; diff --git a/jstests/replsets/stepdown.js b/jstests/replsets/stepdown.js index 5a2b576bf88b4..c1bdde46fbd5e 100644 --- a/jstests/replsets/stepdown.js +++ b/jstests/replsets/stepdown.js @@ -85,7 +85,7 @@ assert.soon(function() { } catch (x) { return false; } -}, 'wait for 31000 to be primary', 60000); +}, 'wait for 31000 to be primary', 2 * 60 * 1000); master = replTest.getMaster(); var firstMaster = master; diff --git a/jstests/replsets/sync2.js b/jstests/replsets/sync2.js index 5969663681a9b..4688d86cd436f 100644 --- a/jstests/replsets/sync2.js +++ b/jstests/replsets/sync2.js @@ -30,14 +30,14 @@ replTest.partition(4,1); replTest.partition(4,3); jsTestLog("Checking that ops still replicate correctly"); -var option = { writeConcern: { w: 5, wtimeout: 30000 }}; +var option = { writeConcern: { w: 5, wtimeout: 60000 }}; assert.writeOK(master.getDB("foo").bar.insert({ x: 1 }, option)); // 4 is connected to 3 replTest.partition(4,2); replTest.unPartition(4,3); -option = { writeConcern: { w: 5, wtimeout: 30000 }}; +option = { writeConcern: { w: 5, wtimeout: 60000 }}; assert.writeOK(master.getDB("foo").bar.insert({ x: 1 }, option)); replTest.stopSet(); diff --git a/jstests/slow1/replsets_priority1.js b/jstests/slow1/replsets_priority1.js index e6587de99ce26..622704cc5f556 100644 --- a/jstests/slow1/replsets_priority1.js +++ b/jstests/slow1/replsets_priority1.js @@ -75,7 +75,7 @@ var checkPrimaryIs = function (node) { }, 15); return ok; - }, node.host + '==1', 60000, 1000); + }, node.host + '==1', 2 * 60 * 1000, 1000); everyoneOkSoon(); }; @@ -150,7 +150,7 @@ for (i=0; i