You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@asterixdb.apache.org by "Michael Blow (JIRA)" <ji...@apache.org> on 2017/02/27 16:23:45 UTC
[jira] [Created] (ASTERIXDB-1816) sleeps should be replaced with
polling when waiting for cluster to start in tests
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)