diff options
author | Charlie Swanson <charlie.swanson@mongodb.com> | 2015-09-01 16:19:57 -0400 |
---|---|---|
committer | Charlie Swanson <charlie.swanson@mongodb.com> | 2015-09-09 13:14:48 -0400 |
commit | c15f4bb96d2ee86874582d45d1865e9358168e7e (patch) | |
tree | 92c788863ae91a8b9c5801e1d536d7ef1a02ec05 /jstests/sharding/names.js | |
parent | f5e063d4785b0460ab41de8cc4b537e5e2151338 (diff) | |
download | mongo-c15f4bb96d2ee86874582d45d1865e9358168e7e.tar.gz |
SERVER-18272 Update jstests to use allocatePort() instead of hard coding ports
Diffstat (limited to 'jstests/sharding/names.js')
-rw-r--r-- | jstests/sharding/names.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/jstests/sharding/names.js b/jstests/sharding/names.js index ff775184116..17e98f82b30 100644 --- a/jstests/sharding/names.js +++ b/jstests/sharding/names.js @@ -2,8 +2,8 @@ var st = new ShardingTest( name = "test", shards = 0, verbose = 2, mongos = 2, other = { rs : true } ) -var rsA = new ReplSetTest({ nodes : 2, name : "rsA", startPort : 28000 }) -var rsB = new ReplSetTest({ nodes : 2, name : "rsB", startPort : 28010 }) +var rsA = new ReplSetTest({ nodes : 2, name : "rsA" }) +var rsB = new ReplSetTest({ nodes : 2, name : "rsB" }) rsA.startSet() rsB.startSet() |