mirror of
https://github.com/OpenHFT/Chronicle-Map.git
synced 2021-09-13 01:26:12 +00:00
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:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user