[
https://issues.apache.org/jira/browse/EAGLE-560?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Hao Chen updated EAGLE-560:
---------------------------
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. (was: Retry embedded zookeeper port by port +1 when
conflicts)
> Retry embedded zookeeper port by port +1 when conflicts
> -------------------------------------------------------
>
> Key: EAGLE-560
> URL: https://issues.apache.org/jira/browse/EAGLE-560
> Project: Eagle
> Issue Type: Bug
> Affects Versions: v0.5.0
> Reporter: Hao Chen
> Assignee: Hao Chen
> Fix For: v0.5.0
>
>
> 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.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)