137138139140141142143144145146147
Thread.sleep(5000); printExternalView(connection, clusterId, resource.getId()); // stop the participants helixParticipant.stopAsync(); autoJoinParticipant.stopAsync(); // stop the controller helixController.stopAsync(); // drop the cluster
163164165166167168169170171172173
Assert.assertTrue(success); // clean up controller.stopAsync(); participant.stopAsync(); connection.disconnect(); System.out.println("END " + clusterName + " at " + new Date(System.currentTimeMillis())); } }