zookeeper-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From revans2 <...@git.apache.org>
Subject [GitHub] zookeeper issue #648: ZOOKEEPER-3156: Add in option to canonicalize host nam...
Date Mon, 01 Oct 2018 21:07:57 GMT
Github user revans2 commented on the issue:

    So I am running into some issues with the tests as all of the methods to InetSocketAddress
are marked as final and as such I cannot mock them. This means I would need a set of host
names that are real, and accessible from any build host you would want to run the test on
and never going to be taken down, or I would need to create another class that wraps InetSocketAddress
for the canonicalization that would allow me to do the mocking at that level.  Not sure which
you would prefer. 


View raw message