zookeeper-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From breed <...@git.apache.org>
Subject [GitHub] zookeeper pull request #579: [ZOOKEEPER-3095] Connect string fix for non-exi...
Date Fri, 27 Jul 2018 04:39:21 GMT
Github user breed commented on a diff in the pull request:

    https://github.com/apache/zookeeper/pull/579#discussion_r205666190
  
    --- Diff: src/c/tests/TestClient.cc ---
    @@ -325,7 +326,17 @@ class Zookeeper_simpleSystem : public CPPUNIT_NS::TestFixture
             CPPUNIT_ASSERT(zk != 0);
             CPPUNIT_ASSERT(ctx.waitForConnected(zk));
         }
    -    
    +
    +    /* Checks that a non-existent host will not block the connection*/
    +    void testNonexistentHost() {
    +      char hosts[] = "jimmy:5555,127.0.0.1:22181";
    +      watchctx_t ctx;
    --- End diff --
    
    4 space indent


---

Mime
View raw message