Liang Xie created DL-147: ---------------------------- Summary: Improve DistributedLogServerTestCase Key: DL-147 URL: https://issues.apache.org/jira/browse/DL-147 Project: DistributedLog Issue Type: Test Components: distributedlog-service Reporter: Liang Xie
See https://builds.apache.org/job/distributedlog-precommit-pullrequest/38/com.twitter$distributedlog-service/testReport/ Currently, the port is hard-code: {code} @Before public void setup() throws Exception { dlServer = createDistributedLogServer(7001); dlClient = createDistributedLogClient("test"); } {code} Therefore "java.net.BindException: Address already in use" will be seen under a not-cleaned or shared env. we should introduce a fall-back mechanism -- This message was sent by Atlassian JIRA (v6.3.4#6332)