summaryrefslogtreecommitdiff
path: root/jstests/mr_killop.js
diff options
context:
space:
mode:
authorAaron <aaron@10gen.com>2010-12-28 18:35:46 -0800
committerAaron <aaron@10gen.com>2010-12-28 18:35:46 -0800
commite0cc22ad539533c9110a3ce52999ce1f444b48b7 (patch)
tree66a75516300a0b430e197371b4053c64b96aca83 /jstests/mr_killop.js
parent3a2087ac5c736c89ac9c7a125d525bdd5417d5f2 (diff)
downloadmongo-e0cc22ad539533c9110a3ce52999ce1f444b48b7.tar.gz
debug and try to fix mr_killop windows failures
Diffstat (limited to 'jstests/mr_killop.js')
-rw-r--r--jstests/mr_killop.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/jstests/mr_killop.js b/jstests/mr_killop.js
index 6331a21da9b..01f2e5d4d61 100644
--- a/jstests/mr_killop.js
+++ b/jstests/mr_killop.js
@@ -57,9 +57,11 @@ if ( typeof _threadInject == "undefined" ) { // don't run in v8 mode - SERVER-19
spec[ "scope" ] = scope;
}
+ stringifiedSpec = tojson( spec ).toString().replace( /\n/g, ' ' );
+
// The assert below won't be caught by this test script, but it will cause error messages
// to be printed.
- s = startParallelShell( "assert.commandWorked( db.runCommand( " + tojson( spec ) + " ) );" );
+ s = startParallelShell( "print( '" + stringifiedSpec + "' ); assert.commandWorked( db.runCommand( " + stringifiedSpec + " ) );" );
if ( wait ) {
sleep( 2000 );