From 732e0f06c73f1900eaa97fa21b77065822d622dd Mon Sep 17 00:00:00 2001 From: leventov Date: Mon, 14 Dec 2015 18:17:40 +0300 Subject: [PATCH] Fixed a bug in putValue(), added in commit 5eda4c44b369bacdc99a999eb4b43dbb7ac10b62 --- src/main/java/net/openhft/chronicle/map/VanillaChronicleMap.java | 1 + .../java/net/openhft/chronicle/map/TCPSocketReplicationTest.java | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/net/openhft/chronicle/map/VanillaChronicleMap.java b/src/main/java/net/openhft/chronicle/map/VanillaChronicleMap.java index f35d2af9d..38f2c45aa 100755 --- a/src/main/java/net/openhft/chronicle/map/VanillaChronicleMap.java +++ b/src/main/java/net/openhft/chronicle/map/VanillaChronicleMap.java @@ -2878,6 +2878,7 @@ class VanillaChronicleMap, entry.position(valueSizePos); valueSizeMarshaller.writeSize(entry, newElemSize); alignment.alignPositionAddr(entry); + metaElemWriter.write(elemWriter, entry, newElem); freeExtraAllocatedChunks(newPos, allocatedChunks, entry); segmentState.pos = newPos; return; diff --git a/src/test/java/net/openhft/chronicle/map/TCPSocketReplicationTest.java b/src/test/java/net/openhft/chronicle/map/TCPSocketReplicationTest.java index 32f441381..f90d07ae5 100644 --- a/src/test/java/net/openhft/chronicle/map/TCPSocketReplicationTest.java +++ b/src/test/java/net/openhft/chronicle/map/TCPSocketReplicationTest.java @@ -202,7 +202,6 @@ public class TCPSocketReplicationTest { } // TODO test this with larger sizes. - @Ignore("JIRA - HCOLL-411") @Test public void testSoakTestWithRandomData() throws IOException, InterruptedException { System.out.print("SoakTesting ");