[ 
https://issues.apache.org/jira/browse/HBASE-21949?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16782919#comment-16782919
 ] 

Guanghao Zhang commented on HBASE-21949:
----------------------------------------

[~maoling] The problem I meet is not this... In my test PC, port 8888 is binded 
by other services, so it catch BindException and use 8889 as the port. I 
thought we should assertTrue(clientPortList3[i] >= 
clientPortListInCluster.get(i).intValue()) here?

> Fix flaky test 
> TestHBaseTestingUtility.testMiniZooKeeperWithMultipleClientPorts
> -------------------------------------------------------------------------------
>
>                 Key: HBASE-21949
>                 URL: https://issues.apache.org/jira/browse/HBASE-21949
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Guanghao Zhang
>            Assignee: maoling
>            Priority: Major
>             Fix For: 3.0.0, 2.2.0, 2.3.0
>
>         Attachments: HBASE-21949-branch-2.2.patch
>
>
> Found this when run ut for branch-2.2. It is easy to port conflict.
> TestHBaseTestingUtility.testMiniZooKeeperWithMultipleClientPorts:299 
> expected:<8889> but was:<8888>



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to