[
https://issues.apache.org/jira/browse/ZOOKEEPER-2252?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14738749#comment-14738749
]
Arshad Mohammad commented on ZOOKEEPER-2252:
--------------------------------------------
In one of our test environment this test case is failing because host name "a"
is resolved to a valid host, as per the test case assumption host "a" is an
invalid host. I think this is the reason everywhere for this test case failure.
So if we change the host name in test case from "a" to some thing which would
really be an invalid host then the test will not fail.
> 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: Bug
> Affects Versions: 3.5.0
> Reporter: Arshad Mohammad
> Priority: Minor
> Fix For: 3.5.2, 3.6.0
>
> Attachments: ZK-2252-try-repro-on-jenkins.patch,
> ZOOKEEPER-2252-02.patch, ZOOKEEPER-2252-03.patch, ZOOKEEPER-2252-04.patch
>
>
> 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)