mirror of
https://github.com/OpenHFT/Chronicle-Map.git
synced 2021-09-13 01:26:12 +00:00
HCOLL-283 HCOLL-276 Fixed a bug in with underinitialized key/value serialization builders when the server map is deserialized from file
This commit is contained in:
@@ -1695,7 +1695,6 @@ public class ChronicleMapTest {
|
||||
}
|
||||
|
||||
|
||||
@Ignore("HCOLL-283 run it twice with the same filename it fails")
|
||||
@Test
|
||||
public void testByteArrayKeySizeBySample() throws IOException {
|
||||
TcpTransportAndNetworkConfig serverConfig = TcpTransportAndNetworkConfig.of(8877)
|
||||
@@ -1703,7 +1702,6 @@ public class ChronicleMapTest {
|
||||
|
||||
File mapFile = getPersistenceFile();
|
||||
|
||||
|
||||
// this test only appear to fail when we reuse the mapFile
|
||||
for (int i = 0; i < 2; i++) {
|
||||
|
||||
@@ -1712,7 +1710,8 @@ public class ChronicleMapTest {
|
||||
.constantKeySizeBySample(new byte[14])
|
||||
.createPersistedTo(mapFile)) {
|
||||
|
||||
try (ChronicleMap<byte[], byte[][]> map2 = ChronicleMapBuilder.of(byte[].class, byte[][].class)
|
||||
try (ChronicleMap<byte[], byte[][]> map2 = ChronicleMapBuilder
|
||||
.of(byte[].class, byte[][].class)
|
||||
.constantKeySizeBySample(new byte[14])
|
||||
.statelessClient(new InetSocketAddress("localhost", 8877))
|
||||
.create()) {
|
||||
|
||||
Reference in New Issue
Block a user