Resurrecting some commented out test and removing the sleep from the close on StatelessClient

This commit is contained in:
Rob Austin
2014-11-27 21:07:02 +00:00
parent 803c2a0ad0
commit 71e4ddfd1f
5 changed files with 3 additions and 16 deletions
@@ -529,6 +529,7 @@ public class ChronicleMapTest {
map.close();
}
@Ignore("JIRA raised HCOLL-221")
@Test
public void testAcquireFromMultipleThreads() throws Exception {
int entries = 1000 * 1000;
@@ -537,6 +538,7 @@ public class ChronicleMapTest {
testAcquireFromMultipleThreads(getSharedMap(entries, 128, 24, OF_8_BYTES));
}
public void testAcquireFromMultipleThreads(ChronicleMap<CharSequence, LongValue> map)
throws Exception {
@@ -21,13 +21,9 @@ package net.openhft.chronicle.map;
import com.google.common.collect.HashMultimap;
import com.google.common.collect.Multimap;
import net.openhft.chronicle.map.Int24Int24MultiMap;
import net.openhft.chronicle.map.IntIntMultiMap;
import net.openhft.chronicle.map.MultiMap;
import net.openhft.lang.collection.SingleThreadedDirectBitSet;
import net.openhft.lang.io.DirectStore;
import org.junit.Assert;
import org.junit.Ignore;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.junit.runners.Parameterized;
@@ -155,7 +151,7 @@ public class IntIntMultiMapTest {
}
@Test
@Ignore("Very long running test")
// @Ignore("Very long running test")
public void testMaxCapacity() throws NoSuchFieldException, IllegalAccessException {
Field maxCapacityField = c.getDeclaredField("MAX_CAPACITY");
long maxCapacity = maxCapacityField.getLong(null);
@@ -20,7 +20,6 @@ package net.openhft.chronicle.map;
import org.junit.After;
import org.junit.Before;
import org.junit.Ignore;
import org.junit.Test;
import java.io.Closeable;
@@ -101,7 +100,6 @@ public class TCPSocketReplication3VoidValueTest {
@Test
@Ignore
public void testClear() throws IOException, InterruptedException {
assertEquals(null, map1.put(1, null));
@@ -21,7 +21,6 @@ package net.openhft.chronicle.set;
import net.openhft.chronicle.hash.replication.TcpTransportAndNetworkConfig;
import org.junit.After;
import org.junit.Before;
import org.junit.Ignore;
import org.junit.Test;
import java.io.Closeable;
@@ -121,7 +120,6 @@ public class SetForTCPSocketReplication3wayTest {
@Test
@Ignore
public void testClear() throws IOException, InterruptedException {
set1.add(1);