summaryrefslogtreecommitdiff
path: root/jstests/killop.js
diff options
context:
space:
mode:
authorEliot Horowitz <eliot@10gen.com>2012-01-25 11:44:39 -0500
committerEliot Horowitz <eliot@10gen.com>2012-01-25 11:44:39 -0500
commit799dd957b11e660dc8694f2fd96d14fcd670fc59 (patch)
tree2b53ca8d8f99e2c4f0220f662ec0dfffa36b2b4c /jstests/killop.js
parentde06e671b99dfe1f65d15ac01fb9f7ccc96ea8bd (diff)
downloadmongo-799dd957b11e660dc8694f2fd96d14fcd670fc59.tar.gz
debugging for failing test
Diffstat (limited to 'jstests/killop.js')
-rw-r--r--jstests/killop.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/killop.js b/jstests/killop.js
index 70144a9d32e..4f72ab25d89 100644
--- a/jstests/killop.js
+++ b/jstests/killop.js
@@ -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(); return o.length == 2; } );
+assert.soon( function() { o = ops(); printjson( o ); return o.length == 2; } );
debug( o );
db.killOp( o[ 0 ] );
db.killOp( o[ 1 ] );