use of com.netflix.eureka.EurekaServerConfig in project eureka by Netflix.
the class PeerEurekaNodeTest method createPeerEurekaNode.
private PeerEurekaNode createPeerEurekaNode() {
EurekaServerConfig config = ClusterSampleData.newEurekaServerConfig();
peerEurekaNode = new PeerEurekaNode(registry, "test", "http://test.host.com", httpReplicationClient, config, BATCH_SIZE, MAX_BATCHING_DELAY_MS, ClusterSampleData.RETRY_SLEEP_TIME_MS, ClusterSampleData.SERVER_UNAVAILABLE_SLEEP_TIME_MS);
return peerEurekaNode;
}
Aggregations