Github user nkalmar commented on the issue:
https://github.com/apache/zookeeper/pull/633
I'm starting to think Jenkins hates me.
I did multiple tests on a Linux server. Although it did fail sometime,
after adding more memory, as much as the Jenkins job does, it passes all the
time.
I run it with: ant test -Dtest.junit.threads=8 -Dtest.junit.maxmem=2g
(Oh, on 1 thread it never fails).
First I thought there is a bug in PortAssignment, but I debugged that,
looks fine.
I'm still investigating, and also re-running Jenkins job maybe I get a
green build... but this is extremely flaky, so I hope I find something...
---