}
private void initializeS4Node() throws ConfigurationException, IOException, InterruptedException, KeeperException {
// 1. start s4 nodes. Check that no app is deployed.
TaskSetup taskSetup = new TaskSetup("localhost:" + CommTestUtils.ZK_PORT);
taskSetup.clean("s4");
taskSetup.setup(PRODUCER_CLUSTER, 1, 1300);
TaskSetup taskSetup2 = new TaskSetup("localhost:" + CommTestUtils.ZK_PORT);
taskSetup2.setup(CONSUMER_CLUSTER, 1, 1400);
zkClient = new ZkClient("localhost:" + CommTestUtils.ZK_PORT);
zkClient.setZkSerializer(new ZNRecordSerializer());
List<String> processes = zkClient.getChildren("/s4/clusters/" + PRODUCER_CLUSTER + "/process");
Assert.assertTrue(processes.size() == 0);