summaryrefslogtreecommitdiff
path: root/jstests/slowNightly/sharding_balance4.js
diff options
context:
space:
mode:
authorMathias Stearn <mathias@10gen.com>2012-03-09 12:26:58 -0500
committerMathias Stearn <mathias@10gen.com>2012-03-09 12:26:58 -0500
commit4367c5493c2d1d193b805cf2cf801c69168fbfcc (patch)
tree6ad063bb7c07e84e1071e015bad54704bb551834 /jstests/slowNightly/sharding_balance4.js
parent0e06167978fe5e22f9b130f0e6483287369743a4 (diff)
downloadmongo-4367c5493c2d1d193b805cf2cf801c69168fbfcc.tar.gz
Better debugging for test failure
http://buildbot.mongodb.org/builders/OS%20X%2010.5%2064-bit%20DEBUG/builds/774/steps/test_1/logs/stdio
Diffstat (limited to 'jstests/slowNightly/sharding_balance4.js')
-rw-r--r--jstests/slowNightly/sharding_balance4.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/slowNightly/sharding_balance4.js b/jstests/slowNightly/sharding_balance4.js
index 5fd8f094c37..43ca23d78bf 100644
--- a/jstests/slowNightly/sharding_balance4.js
+++ b/jstests/slowNightly/sharding_balance4.js
@@ -91,7 +91,7 @@ function diff1(){
print( "ELIOT ELIOT : " + tojson( le ) + "\t" + myid );
if ( ! le.updatedExisting || le.n != 1 ) {
- print( "going to assert for id: " + myid + " correct count is: " + counts[myid] + " db says count is: " + db.foo.findOne( { _id : myid } ) );
+ print( "going to assert for id: " + myid + " correct count is: " + counts[myid] + " db says count is: " + tojson(db.foo.findOne( { _id : myid } )) );
}
assert( le.updatedExisting , "GLE diff myid: " + myid + " 1: " + tojson(le) )