summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron <aaron@10gen.com>2009-04-03 12:53:09 -0400
committerAaron <aaron@10gen.com>2009-04-03 12:53:09 -0400
commit006c1404e9ba891b5d51a20bf6ac44444bb8613b (patch)
treec4eb1330047f0c8a1c227cf00e9f0b3322499f97
parent38e53ec2ff0991ab7c69719da33f39c312ae169d (diff)
downloadmongo-006c1404e9ba891b5d51a20bf6ac44444bb8613b.tar.gz
assert.soon waits up to 20 sec
-rw-r--r--shell/utils.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/utils.js b/shell/utils.js
index d6a50cdd5c8..8528a591407 100644
--- a/shell/utils.js
+++ b/shell/utils.js
@@ -29,7 +29,7 @@ assert.soon = function( f ) {
while( 1 ) {
if ( f() )
return;
- if ( ( new Date() ).getTime() - start.getTime() > 10000 )
+ if ( ( new Date() ).getTime() - start.getTime() > 20000 )
throw "assert.soon failed: " + f;
sleep( 200 );
}