diff options
author | Spencer T Brody <spencer@mongodb.com> | 2015-04-09 18:17:10 -0400 |
---|---|---|
committer | Spencer T Brody <spencer@mongodb.com> | 2015-04-14 13:53:47 -0400 |
commit | 7c1ad90880f8612fcc310ad329790464453cfbd9 (patch) | |
tree | 48eadefb740d6803ddc0b8c3866d1b7afaa3c8f7 /jstests/sharding/diffservers1.js | |
parent | b5253c0a357dab7ba202fb8368a9f75d72501f17 (diff) | |
download | mongo-7c1ad90880f8612fcc310ad329790464453cfbd9.tar.gz |
SERVER-17971 Remove separateConfig option from ShardingTest and make its behavior the default
Diffstat (limited to 'jstests/sharding/diffservers1.js')
-rw-r--r-- | jstests/sharding/diffservers1.js | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/jstests/sharding/diffservers1.js b/jstests/sharding/diffservers1.js index 31fd75a16ee..8a7f2bac0a2 100644 --- a/jstests/sharding/diffservers1.js +++ b/jstests/sharding/diffservers1.js @@ -3,8 +3,9 @@ s = new ShardingTest( "diffservers1" , 2 ); assert.eq( 2 , s.config.shards.count() , "server count wrong" ); -assert.eq( 2 , s._connections[0].getDB( "config" ).shards.count() , "where are servers!" ); -assert.eq( 0 , s._connections[1].getDB( "config" ).shards.count() , "shouldn't be here" ); +assert.eq( 2 , s._configServers[0].getDB( "config" ).shards.count() , "where are servers!" ); +assert.eq( 0 , s._shardServers[0].getDB( "config" ).shards.count() , "shouldn't be here" ); +assert.eq( 0 , s._shardServers[1].getDB( "config" ).shards.count() , "shouldn't be here" ); test1 = s.getDB( "test1" ).foo; test1.save( { a : 1 } ); |