HCOLL-213 - improved the stateless clients handling of large values

This commit is contained in:
Rob Austin
2014-11-17 20:06:12 +00:00
parent f854e96361
commit a0689c09c9
3 changed files with 18 additions and 5 deletions
@@ -263,13 +263,13 @@ public class StatelessClientTest {
final Map<String, String> data = new HashMap<String, String>();
for (int i = 0; i < 60; i++) {
data.put("" + i, new String(new char[10]));
String value = new String(new char[10]);
for (int i = 0; i < 1000; i++) {
data.put("" + i, value);
}
try (ChronicleMap<String, Map> serverMap = ChronicleMapBuilder.of(String.class, Map
.class)
.entrySize(1024)
.replication((byte) 2, TcpTransportAndNetworkConfig.of(8056)).create()) {
try (ChronicleMap<String, Map> statelessMap = ChronicleMapBuilder.of(String.class, Map