This commit is contained in:
peter lawrey
2018-09-14 11:26:13 +00:00
parent 337698b408
commit b413c026ee
7 changed files with 22 additions and 6 deletions
@@ -17,6 +17,7 @@
package net.openhft.chronicle.map;
import net.openhft.chronicle.core.Jvm;
import net.openhft.chronicle.core.values.LongValue;
import net.openhft.chronicle.hash.ChecksumEntry;
import net.openhft.chronicle.hash.ChronicleHashBuilderPrivateAPI;
@@ -40,6 +41,7 @@ import java.util.concurrent.atomic.AtomicInteger;
import static net.openhft.chronicle.map.ChronicleMapTest.getPersistenceFile;
import static org.junit.Assert.*;
import static org.junit.Assume.assumeFalse;
public class RecoverTest {
@@ -126,6 +128,7 @@ public class RecoverTest {
@Test
public void testCorruptedEntryRecovery() throws IOException {
assumeFalse(Jvm.isArm());
File file = getPersistenceFile();
try (ChronicleMap<Integer, LongValue> map = ChronicleMap
.of(Integer.class, LongValue.class)