summaryrefslogtreecommitdiff
path: root/jstests/shellspawn.js
diff options
context:
space:
mode:
Diffstat (limited to 'jstests/shellspawn.js')
-rw-r--r--jstests/shellspawn.js6
1 files changed, 4 insertions, 2 deletions
diff --git a/jstests/shellspawn.js b/jstests/shellspawn.js
index 6b713f8..4f550b9 100644
--- a/jstests/shellspawn.js
+++ b/jstests/shellspawn.js
@@ -9,8 +9,10 @@ if ( typeof( _startMongoProgram ) == "undefined" ){
}
else {
spawn = startMongoProgramNoConnect( "mongo", "--port", myPort(), "--eval", "sleep( 2000 ); db.getCollection( '" + baseName + "' ).save( {a:1} );" );
-
- assert.soon( function() { return 1 == t.count(); } );
+
+// assert.soon( function() { return 1 == t.count(); } );
+ // SERVER-2784 debugging - error message overwritten to indicate last count value.
+ assert.soon( "count = t.count(); msg = 'did not reach expected count, last value: ' + t.count(); 1 == count;" );
stopMongoProgramByPid( spawn );