mirror of
https://github.com/OpenHFT/Chronicle-Map.git
synced 2021-09-13 01:26:12 +00:00
HCOLL-134 changed the default so that is does not autoReconnectedUponDroppedConnection, however it better if most of the test cases have this can you can guarantee that the server is ready to accept TCP/IP before the client.
This commit is contained in:
@@ -54,7 +54,7 @@ public class SetForTCPSocketReplication3wayTest {
|
||||
final InetSocketAddress... endpoints) throws IOException {
|
||||
return (T) ChronicleSetBuilder.of(Integer.class)
|
||||
.replication(identifier, TcpTransportAndNetworkConfig.of(serverPort, asList(endpoints))
|
||||
.heartBeatInterval(1L, SECONDS))
|
||||
.heartBeatInterval(1L, SECONDS).autoReconnectedUponDroppedConnection(true))
|
||||
.createPersistedTo(getPersistenceFile());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user