Add timeouts

This commit is contained in:
Dmitry Pisklov
2018-12-05 12:31:33 +00:00
parent 3347b6ce07
commit a848f48d29
2 changed files with 2 additions and 2 deletions
@@ -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()) {