Fix up some tests broken from a tidy up of exceptions.

This commit is contained in:
Peter Lawrey
2016-04-15 13:09:59 +01:00
parent ffff33bed1
commit b90ebc3b39
13 changed files with 516 additions and 550 deletions
@@ -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())