summaryrefslogtreecommitdiff
path: root/jstests/sharding/count2.js
diff options
context:
space:
mode:
authorEliot Horowitz <eliot@10gen.com>2010-07-16 00:31:43 -0400
committerEliot Horowitz <eliot@10gen.com>2010-07-16 00:31:43 -0400
commit0e2fd8c149713b8ddd781324bbe8b1cf00101957 (patch)
tree51bb283a4f50d78fa51ce93a0195fd55ed533a47 /jstests/sharding/count2.js
parent1fce17f24825ee38c6b32fceaf18ded3bc4822d2 (diff)
downloadmongo-0e2fd8c149713b8ddd781324bbe8b1cf00101957.tar.gz
get rid of gridCommands
Diffstat (limited to 'jstests/sharding/count2.js')
-rw-r--r--jstests/sharding/count2.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/jstests/sharding/count2.js b/jstests/sharding/count2.js
index 014b80129f2..f7d14500e5b 100644
--- a/jstests/sharding/count2.js
+++ b/jstests/sharding/count2.js
@@ -26,12 +26,12 @@ assert.eq( 3, db2.count( { name : { $gte: "aaa" , $lt: "ddd" } } ) , "initial co
s1.adminCommand( { movechunk : "test.foo" , find : { name : "aaa" } , to : s1.getOther( s1.getServer( "test" ) ).name } );
assert.eq( 3, db1.count( { name : { $gte: "aaa" , $lt: "ddd" } } ) , "post count mongos1" );
-// TOFIX
+
// The second mongos still thinks its shard mapping is valid and accepts a cound
-//assert.eq( 3, db2.count( { name : { $gte: "aaa" , $lt: "ddd" } } ) , "post count mongos2" ); // ***** asserting *****
+assert.eq( 3, db2.count( { name : { $gte: "aaa" , $lt: "ddd" } } ) , "post count mongos2" ); // ***** asserting *****
db2.findOne();
assert.eq( 3, db2.count( { name : { $gte: "aaa" , $lt: "ddd" } } ) );
-s1.stop(); \ No newline at end of file
+s1.stop();