Tune the pausers

This commit is contained in:
Peter Lawrey
2016-01-06 12:26:15 +00:00
parent 86da0aea29
commit ad0286609e
@@ -40,6 +40,7 @@ import static org.junit.Assert.assertTrue;
public class TCPSocketReplicationNativeTest {
Set<Thread> threads;
private ChronicleMap<Integer, LongValue> map1;
private ChronicleMap<Integer, LongValue> map2;
@@ -65,7 +66,8 @@ public class TCPSocketReplicationNativeTest {
for (final Closeable closeable : new Closeable[]{map1, map2}) {
try {
closeable.close();
if (closeable != null)
closeable.close();
} catch (Exception e) {
e.printStackTrace();
}
@@ -73,8 +75,6 @@ public class TCPSocketReplicationNativeTest {
System.gc();
}
Set<Thread> threads;
@Before
public void sampleThreads() {
threads = Thread.getAllStackTraces().keySet();