@Test public void testSamePublicAndPrivateAddressAcrossNodes() { Node node1 = newTestNode("foo1", "host1").setPort(9410).setPublicHostname("host2").setPublicPort(9410); Node node2 = newTestNode("foo2", "host2", Testing.N_UIDS[2]).setPort(9410).setPublicHostname("host1").setPublicPort(9410); new ClusterValidator(newTestCluster(newTestStripe("stripe1").addNodes(node1, node2))).validate(); }
public void validate() throws MalformedClusterException { validate(Version.CURRENT); }
ClusterValidator { public void validate() throws MalformedClusterException { validate(Version.CURRENT); } }
ClusterValidator { public void validate() throws MalformedClusterException { validate(Version.CURRENT); } ClusterValidator(Cluster cluster); }
ClusterValidator { public void validate() throws MalformedClusterException { validate(Version.CURRENT); } ClusterValidator(Cluster cluster); void validate(); void validate(Version version); }
ClusterValidator { public void validate() throws MalformedClusterException { validate(Version.CURRENT); } ClusterValidator(Cluster cluster); void validate(); void validate(Version version);  }