.setX2(2)
.setX3(3.15d)
.setX4(2.0f).build();
SumResponse response =
new ServerCallable<SumResponse>(RpcConnectionPool.newPool(new TajoConf(), getClass().getSimpleName(), 2),
server.getListenAddress(), DummyProtocol.class, false) {
@Override
public SumResponse call(NettyClientBase client) throws Exception {
BlockingInterface stub2 = client.getStub();
SumResponse response1 = stub2.sum(null, request);
return response1;
}
}.withRetries();
assertTrue(8.15d == response.getResult());
response =
new ServerCallable<SumResponse>(RpcConnectionPool.newPool(new TajoConf(), getClass().getSimpleName(), 2),
server.getListenAddress(), DummyProtocol.class, false) {
@Override
public SumResponse call(NettyClientBase client) throws Exception {
BlockingInterface stub2 = client.getStub();
SumResponse response1 = stub2.sum(null, request);