Skip to content

Commit

Permalink
Try to avoid MarkTest failing because of interference of different bu…
Browse files Browse the repository at this point in the history
…ilds
  • Loading branch information
leventov committed Jan 26, 2015
1 parent adf9b27 commit 935c242
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/test/java/net/openhft/chronicle/map/MarkTest.java
Expand Up @@ -45,7 +45,8 @@ public ChronicleMap<Integer, Integer> apply(

@Test(timeout = 25000)
public void persistedTest() {
final File db = Paths.get(System.getProperty("java.io.tmpdir"), "mark").toFile();
int rnd = new Random().nextInt();
final File db = Paths.get(System.getProperty("java.io.tmpdir"), "mark" + rnd).toFile();
if (db.exists())
db.delete();
try {
Expand Down

0 comments on commit 935c242

Please sign in to comment.