Details
Description
This test assigned with random unused ports for master and region server ports and start a cluster, however it can fail as the previously unsigned port might be taken by other application at the moment when cluster start to bind the ports.
Server has an option to allow auto assign an port if the port is unavailable. This option needs to be disabled in this test in order to test explicit port assignment.
The exception for the failure of starting server needs to change to IOException and there is a need to set a retry count instead of infinite retry.
Related ticket: https://issues.apache.org/jira/browse/HBASE-24342
Attachments
Issue Links
- relates to
-
HBASE-24342 [Flakey Tests] Disable TestClusterPortAssignment.testClusterPortAssignment as it can't pass 100% of the time
- Resolved
- links to