assertThat(broadcastResponse.failedShards(), equalTo(0));
logger.info("Broadcast pinging test1");
broadcastResponse = client("server1").admin().cluster().ping(pingBroadcastRequest("test1")).actionGet();
assertThat(broadcastResponse.successfulShards(), equalTo(5));
assertThat(broadcastResponse.failedShards(), equalTo(0));
logger.info("Replication pinging test1 and test2");
ReplicationPingResponse replicationResponse = client("server1").admin().cluster().ping(pingReplicationRequest("test1", "test2")).actionGet();
assertThat(replicationResponse.indices().size(), equalTo(2));
assertThat(replicationResponse.index("test1").successfulShards(), equalTo(5));