Skip to content

Commit

Permalink
BF-854: Don't run as many currentOp commands to avoid spurious timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
GeertBosch committed Apr 24, 2015
1 parent 9ad121c commit 3664296
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jstests/core/evalc.js
Expand Up @@ -12,7 +12,7 @@ for( i = 0; i < 10; ++i ) {

assert.eq( 0 , t2.count() , "X1" )

s = startParallelShell( "print( 'starting forked:' + Date() ); for ( i=0; i<50000; i++ ){ db.currentOp(); } print( 'ending forked:' + Date() ); db.evalc_done.insert( { x : 1 } ); " )
s = startParallelShell( "print( 'starting forked:' + Date() ); for ( i=0; i<10*1000; i++ ){ db.currentOp(); } print( 'ending forked:' + Date() ); db.evalc_done.insert( { x : 1 } ); " )

print( "starting eval: " + Date() )
assert.soon(function() {
Expand Down

0 comments on commit 3664296

Please sign in to comment.