chronicle-bom 1.14.28-SNAPSHOT for all modules

This commit is contained in:
Peter Lawrey
2017-07-01 10:27:43 +01:00
parent 2c49d4e571
commit 4b8b232f0d
4 changed files with 182 additions and 181 deletions
@@ -25,6 +25,8 @@ import org.junit.Test;
import java.util.concurrent.CountDownLatch;
import java.util.concurrent.Semaphore;
import static net.openhft.chronicle.hash.impl.BigSegmentHeader.LOCK_TIMEOUT_SECONDS;
public class MapCloseTest {
@Test(expected = IllegalStateException.class)
@@ -69,6 +71,7 @@ public class MapCloseTest {
@Test(expected = RuntimeException.class)
public void closeWithContextInAnotherThreadTest() throws InterruptedException {
LOCK_TIMEOUT_SECONDS = 2;
ChronicleMap<Integer, Integer> map =
ChronicleMap.of(Integer.class, Integer.class).entries(1).create();
Object lock = new Object();
@@ -87,6 +90,7 @@ public class MapCloseTest {
latch.await();
map.close();
}
LOCK_TIMEOUT_SECONDS = 60;
}
@Test
@@ -67,6 +67,7 @@ public class DoubleArrayTest {
}
@Test
@Ignore("TODO What is HACK???")
public void addToAMap() {
DoubleArray a = new DoubleArray(10);
a.setData(new double[]{1, 2, 3, 4, 5});