RiakNode.Builder builder = new RiakNode.Builder()
.withRemotePort(10001)
.withConnectionTimeout(500)
.withMinConnections(10);
RiakCluster cluster = new RiakCluster.Builder(builder.build()).build();
cluster.start();
PingOperation ping = new PingOperation();
cluster.execute(ping);
ping.await();
assertFalse(ping.isSuccess());
assertNotNull(ping.cause());
cluster.shutdown();
}