summaryrefslogtreecommitdiff
path: root/jstests/sharding/auto2.js
diff options
context:
space:
mode:
authorEliot Horowitz <eliot@10gen.com>2009-09-04 11:00:43 -0400
committerEliot Horowitz <eliot@10gen.com>2009-09-04 11:00:43 -0400
commitc53e909cedbf306293ab8ef3ca6b9e082f7e2529 (patch)
tree216781df83904e31b37ea779f2784d7523fa5f36 /jstests/sharding/auto2.js
parent467dc24e823af05e12c8584ebce211c07f7b064d (diff)
downloadmongo-c53e909cedbf306293ab8ef3ca6b9e082f7e2529.tar.gz
cleaning and don't allow group on a sharded collection SHARDING-26
Diffstat (limited to 'jstests/sharding/auto2.js')
-rw-r--r--jstests/sharding/auto2.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/sharding/auto2.js b/jstests/sharding/auto2.js
index cc400339b54..c6ec374c043 100644
--- a/jstests/sharding/auto2.js
+++ b/jstests/sharding/auto2.js
@@ -31,7 +31,7 @@ s.adminCommand( "connpoolsync" );
print( "done inserting data" );
print( "datasize: " + tojson( s.getServer( "test" ).getDB( "admin" ).runCommand( { datasize : "test.foo" } ) ) );
-s.printShards();
+s.printChunks();
counta = s._connections[0].getDB( "test" ).foo.count();
countb = s._connections[1].getDB( "test" ).foo.count();