summaryrefslogtreecommitdiff
path: root/jstests/sharding/features3.js
diff options
context:
space:
mode:
authorEliot Horowitz <eliot@10gen.com>2011-03-31 08:48:05 -0400
committerEliot Horowitz <eliot@10gen.com>2011-03-31 08:48:05 -0400
commitc3da625d6a839a885189abd079f8e81785ee975a (patch)
tree5b7f490a292bdcf4aba5883b7796ce5648b08fcb /jstests/sharding/features3.js
parentc2956f1d8bb27837349bf42556b0b4e948cb2a6d (diff)
downloadmongo-c3da625d6a839a885189abd079f8e81785ee975a.tar.gz
put indexSizes and other missing fields in sharded collstats SERVER-2752
Diffstat (limited to 'jstests/sharding/features3.js')
-rw-r--r--jstests/sharding/features3.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/jstests/sharding/features3.js b/jstests/sharding/features3.js
index b28d88e32de..6870bb70208 100644
--- a/jstests/sharding/features3.js
+++ b/jstests/sharding/features3.js
@@ -20,6 +20,8 @@ x = db.foo.stats();
assert.eq( N , x.count , "total count" )
assert.eq( N / 2 , x.shards.shard0000.count , "count on shard0000" )
assert.eq( N / 2 , x.shards.shard0001.count , "count on shard0001" )
+assert( x.totalIndexSize > 0 )
+assert( x.numExtents > 0 )
start = new Date()