summaryrefslogtreecommitdiff
path: root/jstests/drop2.js
diff options
context:
space:
mode:
Diffstat (limited to 'jstests/drop2.js')
-rw-r--r--jstests/drop2.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/drop2.js b/jstests/drop2.js
index a1d619df1b3..87e646e1ee9 100644
--- a/jstests/drop2.js
+++ b/jstests/drop2.js
@@ -26,7 +26,7 @@ function op( drop ) {
return null;
}
-s1 = startParallelShell( "db.jstests_drop2.count( { $where: function() { while( 1 ) { ; } } } )" );
+s1 = startParallelShell( "db.jstests_drop2.count( { $where: function() { while( 1 ) { sleep( 1 ); } } } )" );
countOp = null;
assert.soon( function() { countOp = op( false ); return countOp; } );