distributedlog-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Liang Xie (JIRA)" <j...@apache.org>
Subject [jira] [Created] (DL-147) Improve DistributedLogServerTestCase
Date Tue, 20 Dec 2016 08:30:58 GMT
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)

Mime
View raw message