ZK_ADDR, CLUSTER_NAME));
Assert.assertTrue(result);
long taskcount = 0;
for (int i = 0; i < NODE_NR; i++) {
DefaultMessagingService svc =
(DefaultMessagingService) (_participants[i].getMessagingService());
HelixTaskExecutor helixExecutor = svc.getExecutor();
ThreadPoolExecutor executor =
(ThreadPoolExecutor) (helixExecutor._executorMap.get(MessageType.STATE_TRANSITION + "."
+ "NextDB"));
Assert.assertEquals(12, executor.getMaximumPoolSize());
taskcount += executor.getCompletedTaskCount();