mirror of
https://github.com/OpenHFT/Chronicle-Map.git
synced 2021-09-13 01:26:12 +00:00
fix broken unit test on windows - map builder requires keysize
This commit is contained in:
@@ -60,7 +60,7 @@ public class MemoryLeaksTest {
|
||||
this.persisted = persisted;
|
||||
this.closeWithinContext = closeWithinContext;
|
||||
builder = ChronicleMap
|
||||
.of(IntValue.class, String.class)
|
||||
.of(IntValue.class, String.class).constantKeySizeBySample(Values.newHeapInstance(IntValue.class))
|
||||
.valueReaderAndDataAccess(new CountedStringReader(), new StringUtf8DataAccess());
|
||||
if (replicated)
|
||||
builder.replication((byte) 1);
|
||||
|
||||
Reference in New Issue
Block a user