public void testDialogFailover() throws Exception { balancer = new Balancer(IP_ADDRESS, BALANCER_PORT); balancer.start(); shootist = new Shootist(true); shootme = new Shootme("shootme", 5070, true); shootmeRecoveryNode = new Shootme("shootme_recovery", 5080, true); shootme.init(); shootmeRecoveryNode.init(); Thread.sleep(5000); shootist.init(); Thread.sleep(10000); shootist.stop(); shootmeRecoveryNode.stop(); // shootme.stop(); stopSipStack(balancer.sipStack, balancer); assertTrue(shootist.okToByeReceived); }