[
https://issues.apache.org/jira/browse/ZOOKEEPER-1603?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13535732#comment-13535732
]
Patrick Hunt commented on ZOOKEEPER-1603:
-----------------------------------------
Here's a sneaky way to get around the issue. use
list.add(new InetSocketAddress("72.30.38." + (size + 140), 1234 +
size));
to allocate the hosts addresses. ;-) (you likely have to change all 10.10.10.*
to 72.30.38.(140+*))
On my system this makes things much faster without the createUnresolved
changes. However it's still taking forever for testUpdateClientMigrateOrNot.
Each 1000 iterations in the last loop in that method (up to numClients
iterations) is taking around 60+ seconds.
Perhaps you can change that method to run for 30 seconds rather than for a
certain number of iterations?
> StaticHostProviderTest testUpdateClientMigrateOrNot hangs
> ---------------------------------------------------------
>
> Key: ZOOKEEPER-1603
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1603
> Project: ZooKeeper
> Issue Type: Bug
> Components: tests
> Affects Versions: 3.5.0
> Reporter: Patrick Hunt
> Assignee: Alexander Shraer
> Priority: Blocker
> Fix For: 3.5.0
>
> Attachments: ZOOKEEPER-1603.patch
>
>
> StaticHostProviderTest method testUpdateClientMigrateOrNot hangs forever.
> On my laptop getHostName for 10.10.10.* takes 5+ seconds per call. As a
> result this method effectively runs forever.
> Every time I run this test it hangs. Consistent.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira