mirror of
https://github.com/OpenHFT/Chronicle-Map.git
synced 2021-09-13 01:26:12 +00:00
HCOLL-285 Refactor Stateless client builders, MapInstanceConfig =>
Builder, removed addJsonConverter method from ChronicleMapBuilder
This commit is contained in:
@@ -26,6 +26,7 @@ import java.util.concurrent.ExecutionException;
|
||||
import java.util.concurrent.TimeUnit;
|
||||
|
||||
import static java.util.Arrays.asList;
|
||||
import static net.openhft.chronicle.map.StatelessClientTest.localClient;
|
||||
import static net.openhft.chronicle.map.fromdocs.OpenJDKAndHashMapExamplesTest.parseYYYYMMDD;
|
||||
import static org.junit.Assert.*;
|
||||
|
||||
@@ -294,9 +295,7 @@ public class CHMUseCasesTest {
|
||||
|
||||
}
|
||||
{
|
||||
map1 = builder
|
||||
.statelessClient(new InetSocketAddress("localhost", 8086))
|
||||
.create();
|
||||
map1 = localClient(8086);
|
||||
|
||||
closeables.add(map1);
|
||||
return map1;
|
||||
|
||||
Reference in New Issue
Block a user