HCOLL-200 fixed - testBootstrapAndHeartbeat

This commit is contained in:
Rob Austin
2014-11-11 16:46:32 +00:00
parent 546d5fccb2
commit 6816810b90
5 changed files with 88 additions and 82 deletions
@@ -89,8 +89,6 @@ public class TCPSocketReplicationBootStrapTest {
map1 = newTcpSocketShmIntString((byte) 1, 8068, new InetSocketAddress("localhost", 8067));
Thread.sleep(1);
File persistenceFile = getPersistenceFile();
final ReplicatedChronicleMap<Integer, ?, ?, CharSequence, ?, ?> map2a =
(ReplicatedChronicleMap<Integer, ?, ?, CharSequence, ?, ?>)
@@ -107,7 +105,6 @@ public class TCPSocketReplicationBootStrapTest {
} while (lastModificationTime == 0);
map2a.close();
// Thread.sleep(1);
{
// restart map 2 but does not connect it to map1
@@ -118,8 +115,6 @@ public class TCPSocketReplicationBootStrapTest {
map2b.close();
}
// Thread.sleep(1);
// now restart map2a and doConnect it to map1, map1 should bootstrap the missing entry
map2 = newTcpSocketShmBuilder(Integer.class, CharSequence.class, (byte) 2, 8067).createPersistedTo(persistenceFile);