diff options
author | Eliot Horowitz <eliot@10gen.com> | 2010-07-16 00:31:43 -0400 |
---|---|---|
committer | Eliot Horowitz <eliot@10gen.com> | 2010-07-16 00:31:43 -0400 |
commit | 0e2fd8c149713b8ddd781324bbe8b1cf00101957 (patch) | |
tree | 51bb283a4f50d78fa51ce93a0195fd55ed533a47 /jstests/sharding/count2.js | |
parent | 1fce17f24825ee38c6b32fceaf18ded3bc4822d2 (diff) | |
download | mongo-0e2fd8c149713b8ddd781324bbe8b1cf00101957.tar.gz |
get rid of gridCommands
Diffstat (limited to 'jstests/sharding/count2.js')
-rw-r--r-- | jstests/sharding/count2.js | 6 |
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(); |