diff options
Diffstat (limited to 'jstests')
-rw-r--r-- | jstests/killop.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/jstests/killop.js b/jstests/killop.js index 4f72ab25d89..d67f293c6bf 100644 --- a/jstests/killop.js +++ b/jstests/killop.js @@ -4,7 +4,7 @@ t.drop(); //if ( typeof _threadInject == "undefined" ) { // don't run in v8 mode - SERVER-1900 function debug( x ) { -// printjson( x ); + printjson( x ); } t.save( {} ); @@ -27,7 +27,7 @@ s1 = startParallelShell( "db.jstests_killop.count( { $where: function() { while( s2 = startParallelShell( "db.jstests_killop.count( { $where: function() { while( 1 ) { ; } } } )" ); o = []; -assert.soon( function() { o = ops(); printjson( o ); return o.length == 2; } ); +assert.soon( function() { o = ops(); return o.length == 2; } ); debug( o ); db.killOp( o[ 0 ] ); db.killOp( o[ 1 ] ); |