diff --git a/src/test/java/net/openhft/chronicle/map/ChronicleMapTest.java b/src/test/java/net/openhft/chronicle/map/ChronicleMapTest.java index 1a1c26d7e..03d6e1948 100755 --- a/src/test/java/net/openhft/chronicle/map/ChronicleMapTest.java +++ b/src/test/java/net/openhft/chronicle/map/ChronicleMapTest.java @@ -136,7 +136,7 @@ public class ChronicleMapTest { for (String line; (line = br.readLine()) != null; ) if (line.startsWith("Vm")) System.out.print(line.replaceAll(" +", " ") + ", "); - System.out.println(); + br.close(); } catch (IOException e) { e.printStackTrace(); @@ -696,6 +696,7 @@ public class ChronicleMapTest { } + @Ignore("Possible candidate for TC JVM crashes") @Test public void testAcquireFromMultipleThreads() throws Exception { int entries = 1000 * 1000; @@ -805,8 +806,6 @@ public class ChronicleMapTest { .averageKeySize(14) .averageValueSize(entrySize - 14 - 2); try (ChronicleMap map = builder.create()) { - int procs = Runtime.getRuntime().availableProcessors(); - ExecutorService es = Executors.newFixedThreadPool(procs); StringBuilder sb = new StringBuilder(); while (sb.length() < entrySize - 14 - 2) @@ -1231,7 +1230,7 @@ public class ChronicleMapTest { @Test public void testPutAndRemove() throws IOException, ClassNotFoundException, IllegalAccessException, InstantiationException { - String TMP = System.getProperty("java.io.tmpdir"); + int entries = 100 * 1000; try (ChronicleMap map = ChronicleMapBuilder.of(CharSequence.class, CharSequence.class)