Permalink
Browse files

make currentop more reliable and have it not impact other tests

  • Loading branch information...
1 parent 5b12140 commit 81099b05f705dd4f0061acf296ac32a7524cd813 @erh erh committed Jun 17, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 jstests/currentop.js
@@ -41,7 +41,7 @@ assert.soon( function(){
}, "have_some_ops");
print("ok");
-s2 = startParallelShell( "db.jstests_currentop.update( { '$where': function() { sleep(1000); } }, { 'num': 1 }, false, true )" );
+s2 = startParallelShell( "db.jstests_currentop.update( { '$where': function() { sleep(150); } }, { 'num': 1 }, false, true ); db.getLastError()" );
o = [];

0 comments on commit 81099b0

Please sign in to comment.