Uploaded image for project: 'Eagle (Retired)'
  1. Eagle (Retired)
  2. EAGLE-560

Retry embedded zookeeper port by port +1 when conflicts

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • v0.5.0
    • v0.5.0
    • None
    • None

    Description

      Currently embedded zookeeper start with hard-coded port 2181 but it may cause conflict when different unittest cases are running concurrently on same machine, so retry embedded zookeeper port by port +1 if starting fails, until finally find a usable port. The max retry times is 5, otherwise throw exception.

      Attachments

        Issue Links

          Activity

            People

              haoch Hao Chen
              haoch Hao Chen
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: