[
https://issues.apache.org/jira/browse/ZOOKEEPER-1256?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15367962#comment-15367962
]
Camille Fournier commented on ZOOKEEPER-1256:
---------------------------------------------
Hey [~fpj], so we're looking for the loopback host address here? I don't really
understand what this test is trying to do exactly, but it looks like on line
64, if I change that from
bindAddress = addrs.nextElement().getHostAddress(); to
bindAddress = addrs.nextElement().getLoopbackAddress().getHostAddress();
all is fine. So I'm just not sure, if we're looking for the loopback address,
why we aren't specifically asking for that in the test? But this is not a part
of the networking code that is super familiar to me. Anyway, that change fixes
it for me locally.
> ClientPortBindTest is failing on Mac OS X
> -----------------------------------------
>
> Key: ZOOKEEPER-1256
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1256
> Project: ZooKeeper
> Issue Type: Bug
> Components: tests
> Environment: Mac OS X
> Reporter: Daniel Gómez Ferro
> Assignee: Flavio Junqueira
> Fix For: 3.5.3, 3.6.0
>
> Attachments: ClientPortBindTest.log, ZOOKEEPER-1256.patch,
> ZOOKEEPER-1256.patch, ZOOKEEPER-1256.patch
>
>
> ClientPortBindTest is failing consistently on Mac OS X.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)