summaryrefslogtreecommitdiff
path: root/jstests/sharding/migrateBig.js
diff options
context:
space:
mode:
authorEliot Horowitz <eliot@10gen.com>2012-06-07 17:31:00 -0400
committerEliot Horowitz <eliot@10gen.com>2012-06-07 18:02:56 -0400
commitdaeae64c40ae8ad030d21b4d2fd547bf67fac3b4 (patch)
treef2604ca87865c3acb68babd9829a4a041a66e79d /jstests/sharding/migrateBig.js
parent12bd69c8f652668fb7798691dbfdd3bc05a6bd8a (diff)
downloadmongo-daeae64c40ae8ad030d21b4d2fd547bf67fac3b4.tar.gz
add an assert at the end of the test to make sure counts all match
Diffstat (limited to 'jstests/sharding/migrateBig.js')
-rw-r--r--jstests/sharding/migrateBig.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/jstests/sharding/migrateBig.js b/jstests/sharding/migrateBig.js
index 1613f17164b..46b6a89bd78 100644
--- a/jstests/sharding/migrateBig.js
+++ b/jstests/sharding/migrateBig.js
@@ -50,4 +50,6 @@ db.printShardingStatus()
assert.soon( function(){ var x = s.chunkDiff( "foo" , "test" ); print( "chunk diff: " + x ); return x < 2; } , "no balance happened" , 8 * 60 * 1000 , 2000 )
+assert.eq( coll.count() , coll.find().itcount() );
+
s.stop()