[
https://issues.apache.org/jira/browse/HBASE-24331?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17100459#comment-17100459
]
Michael Stack commented on HBASE-24331:
---------------------------------------
[~markrmiller] I pushed the parent issue which has support for the PR in here.
Moves the randomFreePort stuff back to hbase-common like you do but also adds
BindException handling. Expand the bit in your patch where it finds other impls
of randomFreePort and converts them to the 'good' impl? Lets get it in.
> [Flakey Test] TestJMXListener rmi port clash
> --------------------------------------------
>
> Key: HBASE-24331
> URL: https://issues.apache.org/jira/browse/HBASE-24331
> Project: HBase
> Issue Type: Sub-task
> Components: flakies, test
> Reporter: Michael Stack
> Priority: Major
>
> The TestJMXListener can fail because the random port it wants to put the jmx
> listener on is occupied when it goes to run. Handle this case in test startup.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)