summaryrefslogtreecommitdiff
path: root/jstests/drop2.js
diff options
context:
space:
mode:
authorgregs <greg@10gen.com>2011-07-25 15:15:37 -0400
committergregs <greg@10gen.com>2011-07-25 15:17:55 -0400
commit20d187b43113abdb4f07c93e1275119d8d04d960 (patch)
tree4bc0769dbdf29c269ae9f4e6667883535a947c34 /jstests/drop2.js
parent84066dcac9e67e3c371ca3f655fd2deb9c37a9e3 (diff)
downloadmongo-20d187b43113abdb4f07c93e1275119d8d04d960.tar.gz
spinning script slows rest of system too much to kill - drop2.js
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; } );