assertAvailable(node);
}
@Test
public void testTimeoutJmx() throws Exception {
Node node = Iterables.get(cluster.getNodes(), 8);
recordException(failureDetector, node);
assertUnavailable(node);
time.sleep(BANNAGE_MILLIS / 2);
assertJmxEquals("unavailableNodesBannageExpiration", node.getId() + "="
+ (BANNAGE_MILLIS / 2));
assertJmxEquals("availableNodes", "0,1,2,3,4,5,6,7");
assertJmxEquals("unavailableNodes", "8");
assertJmxEquals("availableNodeCount", 8);
assertJmxEquals("nodeCount", 9);