Michael Blow created ASTERIXDB-1816: ---------------------------------------
Summary: sleeps should be replaced with polling when waiting for cluster to start in tests Key: ASTERIXDB-1816 URL: https://issues.apache.org/jira/browse/ASTERIXDB-1816 Project: Apache AsterixDB Issue Type: Improvement Components: Test Framework Reporter: Michael Blow e.g. NCServiceIT cluster.addNCService( new File(RESOURCE_DIR, "nc-red.conf"), new File(LOG_DIR, "nc-red.log") ); cluster.addNCService( new File(RESOURCE_DIR, "nc-blue.conf"), new File(LOG_DIR, "nc-blue.log") ); try { Thread.sleep(2000); } catch (InterruptedException ignored) { } // Start CC cluster.start( new File(RESOURCE_DIR, "cc.conf"), new File(LOG_DIR, "cc.log") ); try { Thread.sleep(10000); } catch (InterruptedException ignored) { } -- This message was sent by Atlassian JIRA (v6.3.15#6346)