mirror of
https://github.com/OpenHFT/Chronicle-Map.git
synced 2021-09-13 01:26:12 +00:00
Add timeouts
This commit is contained in:
@@ -59,7 +59,7 @@ public class MarkTest {
|
||||
test(ChronicleMapBuilder::create);
|
||||
}
|
||||
|
||||
@Test
|
||||
@Test(timeout = 25000)
|
||||
public void persistedTest() {
|
||||
int rnd = new Random().nextInt();
|
||||
final File db = Paths.get(System.getProperty("java.io.tmpdir"), "mark" + rnd).toFile();
|
||||
|
||||
@@ -95,7 +95,7 @@ public class MemoryLeaksTest {
|
||||
serializerCount.set(0);
|
||||
}
|
||||
|
||||
@Test
|
||||
@Test(timeout = 60_000)
|
||||
public void testChronicleMapCollectedAndDirectMemoryReleased()
|
||||
throws IOException, InterruptedException {
|
||||
if (!OS.isWindows()) {
|
||||
|
||||
Reference in New Issue
Block a user