From ad22ea0beaa488fd2255ea19a3a6a07fd748fe73 Mon Sep 17 00:00:00 2001 From: leventov Date: Sat, 13 Dec 2014 16:03:13 +0700 Subject: [PATCH] Added timeouts to MarkTest --- src/test/java/net/openhft/chronicle/map/MarkTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/test/java/net/openhft/chronicle/map/MarkTest.java b/src/test/java/net/openhft/chronicle/map/MarkTest.java index c54b7fe16..34dbf4aff 100644 --- a/src/test/java/net/openhft/chronicle/map/MarkTest.java +++ b/src/test/java/net/openhft/chronicle/map/MarkTest.java @@ -32,7 +32,7 @@ public class MarkTest { static int ENTRIES = 25_000_000; - @Test + @Test(timeout = 15000) public void inMemoryTest() { test(new Function, ChronicleMap>() { @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 {