diff options
author | Eliot Horowitz <eliot@10gen.com> | 2012-03-26 13:22:42 -0400 |
---|---|---|
committer | Eliot Horowitz <eliot@10gen.com> | 2012-03-26 13:23:23 -0400 |
commit | e1f684532131ac579c0f4e35a46e1a28da6567d8 (patch) | |
tree | b1d9b14ab976ed187a59d7fee8bb95f7e71d9deb /jstests/sharding/features3.js | |
parent | 87a4604930a9f4e2324bf5d5ccbec106d2a84e7f (diff) | |
download | mongo-e1f684532131ac579c0f4e35a46e1a28da6567d8.tar.gz |
make error reporting better in jstests/sharding/features3.js
Diffstat (limited to 'jstests/sharding/features3.js')
-rw-r--r-- | jstests/sharding/features3.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/jstests/sharding/features3.js b/jstests/sharding/features3.js index 5c89d0f045c..7c5b720b367 100644 --- a/jstests/sharding/features3.js +++ b/jstests/sharding/features3.js @@ -133,10 +133,10 @@ function countWritebacks( curop ) { } x = db.currentOp(); -assert.eq( 0 , countWritebacks( x ) , "without all" ); +assert.eq( 0 , countWritebacks( x ) , "without all: " + tojson(x) ); x = db.currentOp( true ); -assert.eq( 1 , countWritebacks( x ) , "with all" ); +assert.eq( 1 , countWritebacks( x ) , "with all: " + tojson(x) ); |