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

Arshad Mohammad commented on ZOOKEEPER-2252:
--------------------------------------------

As per the logic test case expectation can be met only if 
java.net.UnknownHostException is thrown for both invalid host "a" and invalid 
host "b". But above test run log shows that UnknownHostException is thrown only 
for "a". 

If we can figure out how invalid host "b" some time becomes valid, may be we 
can find root cause.

> Random test case failure in org.apache.zookeeper.test.StaticHostProviderTest
> ----------------------------------------------------------------------------
>
>                 Key: ZOOKEEPER-2252
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2252
>             Project: ZooKeeper
>          Issue Type: Test
>            Reporter: Arshad Mohammad
>            Assignee: Arshad Mohammad
>            Priority: Minor
>
> Test 
> {{org.apache.zookeeper.test.StaticHostProviderTest.testTwoInvalidHostAddresses()}}
>  fails randomly.
> Refer bellow test ci buils:
> https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/2827/testReport/
> https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/2828/testReport/
> https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/2830/testReport/



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to