Set maximum connections to seed node in network stress test

This commit is contained in:
Ivan Vilata-i-Balaguer 2016-05-06 13:09:09 +02:00
parent a9efa4ec15
commit acb31003ed

View File

@ -124,7 +124,7 @@ public class NetworkStressTest {
final boolean useLocalhost = seedNodeAddress.hostName.equals("localhost");
final Set<NodeAddress> seedNodes = new HashSet<>(1);
seedNodes.add(seedNodeAddress); // the only seed node in tests
seedNode.createAndStartP2PService(seedNodeAddress, useLocalhost,
seedNode.createAndStartP2PService(seedNodeAddress, SeedNode.MAX_CONNECTIONS_DEFAULT, useLocalhost,
REGTEST_NETWORK_ID, USE_DETAILED_LOGGING, seedNodes,
new SeedServiceListener(localServicesLatch, localServicesFailed));
print("created seed node");