diff options
Diffstat (limited to 'jstests/sharding/multi_mongos2a.js')
-rw-r--r-- | jstests/sharding/multi_mongos2a.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/jstests/sharding/multi_mongos2a.js b/jstests/sharding/multi_mongos2a.js index 712e3cc9dd1..691c3c4a3c1 100644 --- a/jstests/sharding/multi_mongos2a.js +++ b/jstests/sharding/multi_mongos2a.js @@ -10,9 +10,9 @@ s1.adminCommand( { enablesharding : "test" } ); s1.ensurePrimaryShard('test', 'shard0001'); s1.adminCommand( { shardcollection : "test.foo" , key : { num : 1 } } ); -s1.config.databases.find().forEach( printjson ) +s1.config.databases.find().forEach( printjson ); -s1.getDB('test').existing.insert({_id:1}) +s1.getDB('test').existing.insert({_id:1}); assert.eq(1, s1.getDB('test').existing.count({_id:1})); assert.eq(1, s2.getDB('test').existing.count({_id:1})); @@ -24,7 +24,7 @@ res = s2.getDB( "admin" ).runCommand( { moveChunk: "test.existing" , find : { _i assert.eq(1 , res.ok, tojson(res)); -s1.adminCommand( { flushRouterConfig : 1 } ) +s1.adminCommand( { flushRouterConfig : 1 } ); assert.eq(1, s1.getDB('test').existing.count({_id:1})); // SERVER-2828 assert.eq(1, s2.getDB('test').existing.count({_id:1})); |