use of com.ctrip.xpipe.redis.core.entity.ClusterMeta in project x-pipe by ctripcorp.
the class DcMetaBuilderTest method getOrCreateClusterMeta.
@Test
public void getOrCreateClusterMeta() throws Exception {
builder.getOrCreateClusterMeta(dcClusterShards.get(0).getClusterInfo());
ClusterMeta clusterMeta = dcMeta.getClusters().get(dcClusterShards.get(0).getClusterInfo().getClusterName());
Assert.assertNotNull(clusterMeta);
}
Aggregations