use of com.hazelcast.client.impl.protocol.codec.MCGetMapConfigCodec in project hazelcast by hazelcast.
the class MCMessageTasksTest method testGetMapConfigMessageTask.
@Test
public void testGetMapConfigMessageTask() throws Exception {
ClientInvocation invocation = new ClientInvocation(getClientImpl(), MCGetMapConfigCodec.encodeRequest(randomString()), null);
ClientDelegatingFuture<MCGetMapConfigCodec.ResponseParameters> future = new ClientDelegatingFuture<>(invocation.invoke(), getClientImpl().getSerializationService(), MCGetMapConfigCodec::decodeResponse);
MCGetMapConfigCodec.ResponseParameters response = future.get(ASSERT_TRUE_EVENTUALLY_TIMEOUT, SECONDS);
assertFalse(response.readBackupData);
}
Aggregations