Improve test robustness and park flaky tests.

This commit is contained in:
Peter Lawrey
2014-11-30 22:05:33 +02:00
parent 6fdfc9184c
commit 6dc1792f19
25 changed files with 526 additions and 272 deletions
@@ -33,6 +33,7 @@ import java.util.concurrent.TimeUnit;
*/
public class Builder {
public static final int SIZE = 1000;
// added to ensure uniqueness
static int count;
static String WIN_OS = "WINDOWS";
@@ -75,6 +76,7 @@ public class Builder {
TcpTransportAndNetworkConfig tcpConfig = TcpTransportAndNetworkConfig.of(serverPort, Arrays.asList(endpoints))
.heartBeatInterval(1L, TimeUnit.SECONDS).autoReconnectedUponDroppedConnection(true);
return ChronicleMapBuilder.of(kClass, vClass)
.entries(SIZE)
.replication(identifier, tcpConfig);
}