mirror of
https://github.com/OpenHFT/Chronicle-Map.git
synced 2021-09-13 01:26:12 +00:00
Fix up some tests broken from a tidy up of exceptions.
This commit is contained in:
@@ -16,6 +16,7 @@
|
||||
|
||||
package net.openhft.chronicle.map;
|
||||
|
||||
import net.openhft.chronicle.core.Jvm;
|
||||
import net.openhft.chronicle.hash.ChronicleHashBuilderPrivateAPI;
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
@@ -25,16 +26,14 @@ import java.nio.file.Paths;
|
||||
|
||||
public class Issue62ChronicleServer {
|
||||
|
||||
private final static Logger LOGGER = LoggerFactory.getLogger(Issue62ChronicleServer.class);
|
||||
|
||||
final static String STR =
|
||||
//"This is just a long string, which causes sink to fail for some reason.";
|
||||
"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa";
|
||||
|
||||
private final static File MAP_FILE_A =
|
||||
Paths.get(System.getProperty("java.io.tmpdir"), "map.a").toFile();
|
||||
final static File MAP_FILE_B =
|
||||
Paths.get(System.getProperty("java.io.tmpdir"), "map.b").toFile();
|
||||
private final static Logger LOGGER = LoggerFactory.getLogger(Issue62ChronicleServer.class);
|
||||
private final static File MAP_FILE_A =
|
||||
Paths.get(System.getProperty("java.io.tmpdir"), "map.a").toFile();
|
||||
|
||||
static void prepare(File file) {
|
||||
if (file.exists())
|
||||
|
||||
Reference in New Issue
Block a user