diff options
author | Eric Milkie <milkie@10gen.com> | 2014-04-24 16:44:00 -0400 |
---|---|---|
committer | Eric Milkie <milkie@10gen.com> | 2014-04-24 16:44:05 -0400 |
commit | c6d257962c8ca192f795a74fff8a73f36d28f7f9 (patch) | |
tree | 420d4b51ad011c6a8f50862369172a4d107ed33e | |
parent | 38711ac013df44b1bc928f868ee45a9ac93b3ffb (diff) | |
download | mongo-c6d257962c8ca192f795a74fff8a73f36d28f7f9.tar.gz |
SERVER-13726 standardize timeouts for slower builders
-rw-r--r-- | jstests/noPassthroughWithMongod/indexbg_drop.js | 2 | ||||
-rw-r--r-- | jstests/noPassthroughWithMongod/indexbg_interrupts.js | 2 | ||||
-rw-r--r-- | jstests/noPassthroughWithMongod/indexbg_restart_secondary.js | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/jstests/noPassthroughWithMongod/indexbg_drop.js b/jstests/noPassthroughWithMongod/indexbg_drop.js index 7241b0d4c3e..9e754b747ef 100644 --- a/jstests/noPassthroughWithMongod/indexbg_drop.js +++ b/jstests/noPassthroughWithMongod/indexbg_drop.js @@ -56,7 +56,7 @@ assert.eq(3, masterDB.system.indexes.count( {ns:dbname + "." + collection}, {bac // Wait for the secondary to get the index entry assert.soon( function() { return 3 == secondDB.system.indexes.count( {ns:dbname + "." + collection} ); }, - "index not created on secondary (prior to drop)", 120000, 50 ); + "index not created on secondary (prior to drop)", 240000 ); jsTest.log("Index created and system.indexes entry exists on secondary"); diff --git a/jstests/noPassthroughWithMongod/indexbg_interrupts.js b/jstests/noPassthroughWithMongod/indexbg_interrupts.js index 49f2dbf9b21..09c75056ca2 100644 --- a/jstests/noPassthroughWithMongod/indexbg_interrupts.js +++ b/jstests/noPassthroughWithMongod/indexbg_interrupts.js @@ -77,7 +77,7 @@ for (var idx = 0; idx < dropAction.length; idx++) { // Wait for the secondary to get the index entry assert.soon( function() { return 2 == secondDB.system.indexes.count( {ns:dbname + "." + collection} ); }, - "index not created on secondary", 120000, 50 ); + "index not created on secondary", 240000 ); jsTest.log("Index created and system.indexes entry exists on secondary"); diff --git a/jstests/noPassthroughWithMongod/indexbg_restart_secondary.js b/jstests/noPassthroughWithMongod/indexbg_restart_secondary.js index 7908204effb..01d3b23a07c 100644 --- a/jstests/noPassthroughWithMongod/indexbg_restart_secondary.js +++ b/jstests/noPassthroughWithMongod/indexbg_restart_secondary.js @@ -49,7 +49,7 @@ assert.eq(2, masterDB.system.indexes.count( {ns:"bgIndexSec.jstests_bgsec"} ) ); // Wait for the secondary to get the index entry assert.soon( function() { return 2 == secondDB.system.indexes.count( {ns:"bgIndexSec.jstests_bgsec"} ); }, - "index not created on secondary (prior to restart)", 1000*60*10, 50 ); + "index not created on secondary (prior to restart)", 240000 ); // restart secondary and reconnect jsTest.log("Restarting secondary"); |