Added timeouts to MarkTest

This commit is contained in:
leventov
2014-12-13 16:03:13 +07:00
parent c935c4b05f
commit ad22ea0bea
@@ -32,7 +32,7 @@ public class MarkTest {
static int ENTRIES = 25_000_000;
@Test
@Test(timeout = 15000)
public void inMemoryTest() {
test(new Function<ChronicleMapBuilder<Integer, Integer>, ChronicleMap<Integer, Integer>>() {
@Override
@@ -43,7 +43,7 @@ public class MarkTest {
});
}
@Test
@Test(timeout = 15000)
public void persistedTest() {
final File db = Paths.get(System.getProperty("java.io.tmpdir"), "mark").toFile();
try {