// kill node 1
ServerManagement.kill(1);
FailoverEvent event = failoverListener.getEvent(30000);
assertNotNull(event);
assertEquals(FailoverEvent.FAILURE_DETECTED, event.getType());
event = failoverListener.getEvent(30000);
assertNotNull(event);
assertEquals(FailoverEvent.FAILOVER_STARTED, event.getType());
event = failoverListener.getEvent(30000);
assertNotNull(event);
assertEquals(FailoverEvent.FAILOVER_COMPLETED, event.getType());
}
finally
{
if (conn != null)
{