mirror of
https://github.com/OpenHFT/Chronicle-Map.git
synced 2021-09-13 01:26:12 +00:00
HCOLL-134 reduced the number of entries as this is causing a memory issue on my laptop
This commit is contained in:
@@ -31,7 +31,7 @@ import java.io.IOException;
|
||||
public class MapByNameTest {
|
||||
|
||||
|
||||
private FindFindByName findMapByName;
|
||||
private ReplicationHubFindByName findMapByName;
|
||||
|
||||
@Before
|
||||
public void setUp() throws IOException {
|
||||
@@ -40,7 +40,7 @@ public class MapByNameTest {
|
||||
.tcpTransportAndNetwork(TcpTransportAndNetworkConfig.of(8243))
|
||||
.createWithId((byte) 1);
|
||||
|
||||
findMapByName = new FindFindByName(replicationHub);
|
||||
findMapByName = new ReplicationHubFindByName(replicationHub);
|
||||
}
|
||||
|
||||
@Test
|
||||
@@ -80,7 +80,7 @@ public class MapByNameTest {
|
||||
.name("myMap")
|
||||
.removeReturnsNull(true);
|
||||
|
||||
FindFindByName mapByName = nodeDiscovery.mapByName();
|
||||
ReplicationHubFindByName mapByName = nodeDiscovery.mapByName();
|
||||
mapByName.add(builder);
|
||||
|
||||
ChronicleMap<Object, Object> myMap2 = mapByName.create("myMap");
|
||||
@@ -97,7 +97,7 @@ public class MapByNameTest {
|
||||
.removeReturnsNull(true);
|
||||
|
||||
|
||||
FindFindByName mapByName = nodeDiscovery.mapByName();
|
||||
ReplicationHubFindByName mapByName = nodeDiscovery.mapByName();
|
||||
mapByName.add(builder);
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user