HCOLL-340 probable fix of segmentation fault in SanityCheck test

Conflicts:
	src/test/java/net/openhft/chronicle/map/ChronicleMapSanityCheckTest.java
This commit is contained in:
leventov
2015-06-15 22:23:51 +03:00
parent 65f94178fa
commit 83205b9456
@@ -109,9 +109,18 @@ public class ChronicleMapSanityCheckTest {
Thread.sleep(totalTestTimeMS);
consumerExecutor.shutdown();
try {
consumerExecutor.awaitTermination(Long.MAX_VALUE, TimeUnit.NANOSECONDS);
} catch (InterruptedException e) {
throw new RuntimeException(e);
}
producerExecutor.shutdown();
try {
producerExecutor.awaitTermination(Long.MAX_VALUE, TimeUnit.NANOSECONDS);
} catch (InterruptedException e) {
throw new RuntimeException(e);
}
}
}
}