diff options
author | Greg Studer <greg@10gen.com> | 2013-07-08 16:43:02 -0400 |
---|---|---|
committer | Matt Kangas <matt.kangas@10gen.com> | 2013-08-05 14:40:09 -0500 |
commit | 3fc69c4aaaedd9c1a90179a4bad9ab7416157c52 (patch) | |
tree | fff493195ee26eb49168add2a97b836ac47d2674 /jstests | |
parent | 392b933598668768bf12b1e41ad444aa3548d970 (diff) | |
download | mongo-3fc69c4aaaedd9c1a90179a4bad9ab7416157c52.tar.gz |
SERVER-10120 remove2.js buildbot timeout too aggressive
Diffstat (limited to 'jstests')
-rw-r--r-- | jstests/sharding/remove2.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/jstests/sharding/remove2.js b/jstests/sharding/remove2.js index daa5077431c..faedbf2b8da 100644 --- a/jstests/sharding/remove2.js +++ b/jstests/sharding/remove2.js @@ -35,7 +35,7 @@ removeShard = function(st, replTest) { var res = directdb.currentOp( { desc: /^clean/ } ); print( "eliot: " + replTest.getPrimary() + "\t" + tojson(res) ); return res.inprog.length == 0; - }, "never clean", 60000, 1000 ); + }, "never clean", 5 * 60 * 1000, 1000 ); replTest.getPrimary().getDB( coll.getDB().getName() ).dropDatabase(); print( "Shard removed successfully" ); @@ -59,7 +59,7 @@ addShard = function(st, replTest) { var x = st.chunkDiff( coll.getName() , coll.getDB().getName() ); print( "chunk diff: " + x ); return x < 2; - } , "no balance happened", 60000 ); + } , "no balance happened", 5 * 60 * 1000 ); try { assert.eq( 300, coll.find().itcount() ); @@ -114,7 +114,7 @@ assert.eq( 300, coll.find().itcount() ); assert.soon( function() { var x = st.chunkDiff( 'remove2' , "test" ); print( "chunk diff: " + x ); return x < 2; -} , "no balance happened" ); +} , "no balance happened", 5 * 60 * 1000 ); assert.eq( 300, coll.find().itcount() ); |