public void testFindNodes() throws Exception {
assertEquals(1, node.getNumberOfNodesInCluster());
Node node2 = createNodeAndWait();
assertEquals(2, node.getNumberOfNodesInCluster());
node2.shutdown();
assertEquals(1, node.getNumberOfNodesInCluster());
}
public void testAssignMaster() throws Exception {
assertEquals(node.getAddress(), node.getMasterAddress());