mirror of
https://github.com/OpenHFT/Chronicle-Map.git
synced 2021-09-13 01:26:12 +00:00
Try to avoid MarkTest failing because of interference of different builds
This commit is contained in:
@@ -46,7 +46,8 @@ public class MarkTest {
|
||||
|
||||
@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 {
|
||||
|
||||
Reference in New Issue
Block a user