diff options
author | Aaron <aaron@10gen.com> | 2009-04-03 12:53:09 -0400 |
---|---|---|
committer | Aaron <aaron@10gen.com> | 2009-04-03 12:53:09 -0400 |
commit | 006c1404e9ba891b5d51a20bf6ac44444bb8613b (patch) | |
tree | c4eb1330047f0c8a1c227cf00e9f0b3322499f97 | |
parent | 38e53ec2ff0991ab7c69719da33f39c312ae169d (diff) | |
download | mongo-006c1404e9ba891b5d51a20bf6ac44444bb8613b.tar.gz |
assert.soon waits up to 20 sec
-rw-r--r-- | shell/utils.js | 2 |
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 ); } |