diff options
Diffstat (limited to 'jstests/sharding/key_string.js')
-rw-r--r-- | jstests/sharding/key_string.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/jstests/sharding/key_string.js b/jstests/sharding/key_string.js index 9aa26f87dcc..c98c4dfecbc 100644 --- a/jstests/sharding/key_string.js +++ b/jstests/sharding/key_string.js @@ -28,8 +28,8 @@ s.adminCommand( { moveshard : "test.foo" , find : { name : "joe" } , to : second print( s.config.shard.find().toArray().tojson( "\n" ) ); -assert.eq( 4 , primary.foo.find().toArray().length , "primary count" ); -assert.eq( 2 , seconday.foo.find().toArray().length , "secondary count" ); +assert.eq( 3 , primary.foo.find().toArray().length , "primary count" ); +assert.eq( 3 , seconday.foo.find().toArray().length , "secondary count" ); assert.eq( 6 , db.foo.find().toArray().length , "total count" ); assert.eq( 6 , db.foo.find().sort( { name : 1 } ).toArray().length , "total count sorted" ); |