Uploaded image for project: 'DistributedLog'
  1. DistributedLog
  2. DL-147

Improve DistributedLogServerTestCase

    XMLWordPrintableJSON

Details

    • Test
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • distributedlog-service
    • None

    Description

      See https://builds.apache.org/job/distributedlog-precommit-pullrequest/38/com.twitter$distributedlog-service/testReport/

      Currently, the port is hard-code:

          @Before
          public void setup() throws Exception {
              dlServer = createDistributedLogServer(7001);
              dlClient = createDistributedLogClient("test");
          }
      

      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

      Attachments

        Activity

          People

            Unassigned Unassigned
            xieliang007 Liang Xie
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: