HCOLL-200 Set tcp replication dirty when using acquireUsing

This commit is contained in:
Rob Austin
2014-11-11 10:53:39 +00:00
parent b830660232
commit 339ab05b4c
4 changed files with 39 additions and 16 deletions
@@ -529,12 +529,6 @@ public class ChronicleMapTest {
map.close();
}
@Test
public void broken() {
fail();
}
@Test
public void testAcquireFromMultipleThreads() throws Exception {
int entries = 1000 * 1000;
@@ -86,9 +86,9 @@ public class TCPSocketReplicationBootStrapTests {
@Test
public void testBootstrapAndHeartbeat() throws IOException, InterruptedException {
map1 = newTcpSocketShmIntString((byte) 1, 8079, new InetSocketAddress("localhost", 8076));
map1 = newTcpSocketShmIntString((byte) 1, 8080, new InetSocketAddress("localhost", 8081));
ChronicleMapBuilder<Integer, CharSequence> map2aBuilder =
newTcpSocketShmBuilder(Integer.class, CharSequence.class, (byte) 2, 8076);
newTcpSocketShmBuilder(Integer.class, CharSequence.class, (byte) 2, 8081);
final ReplicatedChronicleMap<Integer, ?, ?, CharSequence, ?, ?> map2a =