Github user justinleet commented on a diff in the pull request: https://github.com/apache/incubator-metron/pull/424#discussion_r97914890 --- Diff: metron-platform/metron-indexing/src/test/java/org/apache/metron/indexing/integration/IndexingIntegrationTest.java --- @@ -184,6 +203,26 @@ public void test() throws Exception { } } + private void waitForIndex(String zookeeperQuorum) throws Exception { + try(CuratorFramework client = getClient(zookeeperQuorum)) { + client.start(); + byte[] bytes = null; + do { + try { + bytes = ConfigurationsUtils.readSensorIndexingConfigBytesFromZookeeper(testSensorType, client); + Thread.sleep(1000); + } + catch(KeeperException.NoNodeException nne) { + //kindly ignore because the path might not exist just yet. + } + } + while(bytes == null || bytes.length == 0); + return; --- End diff -- Drop the return, since it's a void method.
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---