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
---