zookeeper-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From anmolnar <...@git.apache.org>
Subject [GitHub] zookeeper pull request #451: ZOOKEEPER-2184: Zookeeper Client should re-reso...
Date Fri, 16 Feb 2018 14:07:32 GMT
Github user anmolnar commented on a diff in the pull request:

    https://github.com/apache/zookeeper/pull/451#discussion_r168764368
  
    --- Diff: src/java/test/org/apache/zookeeper/test/StaticHostProviderTest.java ---
    @@ -119,6 +120,68 @@ public void testTwoInvalidHostAddresses() {
             new StaticHostProvider(list);
         }
     
    +    @Test
    +    public void testReResolvingSingle() {
    +        byte size = 1;
    +        ArrayList<InetSocketAddress> list = new ArrayList<InetSocketAddress>(size);
    +
    +        // Test a hostname that resolves to a single address
    +        list.clear();
    --- End diff --
    
    Removed.


---

Mime
View raw message