From 92399ceff792a1f8984c4446433b35b4bebeddb8 Mon Sep 17 00:00:00 2001 From: Rob Austin Date: Mon, 2 Feb 2015 11:21:02 +0000 Subject: [PATCH] updated @Ignore's --- .../java/net/openhft/chronicle/map/ChronicleMapBuilder.java | 2 +- .../java/net/openhft/chronicle/map/StatelessClientTest.java | 4 +--- .../net/openhft/chronicle/map/UDPSocketReplicationTest.java | 2 +- .../chronicle/map/jsr166/map/StatelessChronicleMapTest.java | 2 +- 4 files changed, 4 insertions(+), 6 deletions(-) diff --git a/src/main/java/net/openhft/chronicle/map/ChronicleMapBuilder.java b/src/main/java/net/openhft/chronicle/map/ChronicleMapBuilder.java index 6c2946ee7..a44519791 100755 --- a/src/main/java/net/openhft/chronicle/map/ChronicleMapBuilder.java +++ b/src/main/java/net/openhft/chronicle/map/ChronicleMapBuilder.java @@ -103,7 +103,7 @@ public final class ChronicleMapBuilder implements Cloneable, ChronicleHashBuilder, ChronicleMapBuilder>, MapBuilder>, Serializable { - static final byte UDP_REPLICATION_MODIFICATION_ITERATOR_ID = (byte) 128; + static final byte UDP_REPLICATION_MODIFICATION_ITERATOR_ID = (byte) 127; private static final int DEFAULT_KEY_OR_VALUE_SIZE = 120; private static final long DEFAULT_ENTRIES = 1 << 20; private static final int MAX_SEGMENTS = (1 << 30); diff --git a/src/test/java/net/openhft/chronicle/map/StatelessClientTest.java b/src/test/java/net/openhft/chronicle/map/StatelessClientTest.java index a3bf2b922..e9b6fbc76 100644 --- a/src/test/java/net/openhft/chronicle/map/StatelessClientTest.java +++ b/src/test/java/net/openhft/chronicle/map/StatelessClientTest.java @@ -24,7 +24,6 @@ import net.openhft.lang.io.ByteBufferBytes; import net.openhft.lang.io.Bytes; import org.junit.After; import org.junit.Before; -import org.junit.Ignore; import org.junit.Test; import org.slf4j.Logger; import org.slf4j.LoggerFactory; @@ -151,8 +150,7 @@ public class StatelessClientTest { } } - // TODO ignore why? - @Ignore + @Test(timeout = 10000) public void testBufferOverFlowPutAllAndEntrySet() throws IOException, InterruptedException { int port = s_port++; diff --git a/src/test/java/net/openhft/chronicle/map/UDPSocketReplicationTest.java b/src/test/java/net/openhft/chronicle/map/UDPSocketReplicationTest.java index 2ef6178ef..a2b88fe74 100644 --- a/src/test/java/net/openhft/chronicle/map/UDPSocketReplicationTest.java +++ b/src/test/java/net/openhft/chronicle/map/UDPSocketReplicationTest.java @@ -78,7 +78,7 @@ public class UDPSocketReplicationTest { } @Test - @Ignore + @Ignore("just used for manual testing") public void testBufferOverflow() throws IOException, InterruptedException { for (int i = 0; i < 1024; i++) { diff --git a/src/test/java/net/openhft/chronicle/map/jsr166/map/StatelessChronicleMapTest.java b/src/test/java/net/openhft/chronicle/map/jsr166/map/StatelessChronicleMapTest.java index 5f7c21f1a..f5c7d5d4f 100755 --- a/src/test/java/net/openhft/chronicle/map/jsr166/map/StatelessChronicleMapTest.java +++ b/src/test/java/net/openhft/chronicle/map/jsr166/map/StatelessChronicleMapTest.java @@ -308,7 +308,7 @@ public class StatelessChronicleMapTest extends JSR166TestCase { static int s_port = 11050; @Test(timeout = 30000) - @Ignore + @Ignore("performance test") public void testByteArrayPerf() throws IOException { ByteBuffer key = ByteBuffer.allocate(8); ByteBuffer value = ByteBuffer.allocate(50);