From 994e921d9561b570c1d8f0bddcf2f08e4518bd40 Mon Sep 17 00:00:00 2001 From: leventov Date: Tue, 12 Jan 2016 12:04:33 +0300 Subject: [PATCH] Make different tests in Issue63Test class use different persistence files --- src/test/java/net/openhft/chronicle/map/Issue63Test.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/test/java/net/openhft/chronicle/map/Issue63Test.java b/src/test/java/net/openhft/chronicle/map/Issue63Test.java index d151c483d..3c890b2b6 100644 --- a/src/test/java/net/openhft/chronicle/map/Issue63Test.java +++ b/src/test/java/net/openhft/chronicle/map/Issue63Test.java @@ -21,7 +21,6 @@ import net.openhft.chronicle.hash.serialization.ListMarshaller; import net.openhft.chronicle.hash.serialization.impl.CharSequenceBytesReader; import net.openhft.chronicle.hash.serialization.impl.CharSequenceBytesWriter; import net.openhft.chronicle.set.*; -import org.junit.Assert; import org.junit.Test; import java.io.File; @@ -41,7 +40,7 @@ public class Issue63Test { @Test public void issue63Test() throws Exception { - Path path = Paths.get(System.getProperty("java.io.tmpdir") + "/test-vectors.dat"); + Path path = Paths.get(System.getProperty("java.io.tmpdir") + "/test-vectors1.dat"); if (Files.exists(path)) Files.delete(path); File mapFile = path.toFile(); mapFile.deleteOnExit(); @@ -314,7 +313,8 @@ public class Issue63Test { for (int i = 0; i < 100; i++) { averageKnownItems.add("average sized known item"); } - Path knownItemsPath = Paths.get(System.getProperty("java.io.tmpdir") + "/test-vectors.dat"); + Path knownItemsPath = Paths.get( + System.getProperty("java.io.tmpdir") + "/test-vectors2.dat"); Files.deleteIfExists(knownItemsPath); ChronicleMap> knownItems; ChronicleMapBuilder> knownItemsBuilder = ChronicleMap