You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Victor Li (Jira)" <ji...@apache.org> on 2021/05/24 23:50:00 UTC

[jira] [Created] (HBASE-25910) Fix TestClusterPortAssignment.testClusterPortAssignment test and re-enable it.

Victor Li created HBASE-25910:
---------------------------------

             Summary: Fix TestClusterPortAssignment.testClusterPortAssignment test and re-enable it.
                 Key: HBASE-25910
                 URL: https://issues.apache.org/jira/browse/HBASE-25910
             Project: HBase
          Issue Type: Test
          Components: flakies, test
            Reporter: Victor Li
             Fix For: 3.0.0-alpha-1


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



--
This message was sent by Atlassian Jira
(v8.3.4#803005)