You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@zookeeper.apache.org by "tisonkun (via GitHub)" <gi...@apache.org> on 2023/09/15 09:00:26 UTC

[GitHub] [zookeeper] tisonkun commented on a diff in pull request #2062: ZOOKEEPER-4742: Fix connection loss due to abnormal `getConfig` watcher path

tisonkun commented on code in PR #2062:
URL: https://github.com/apache/zookeeper/pull/2062#discussion_r1327013852


##########
zookeeper-server/src/test/java/org/apache/zookeeper/test/ChrootTest.java:
##########
@@ -65,7 +65,9 @@ public boolean matches() throws InterruptedException {
 
     @Test
     public void testChrootWithZooKeeperPathWatcher() throws Exception {
-        ZooKeeper zk1 = createClient(hostPort + "/chroot");
+        // "/zoo" is short enough and a prefix of "/zookeeper/config".

Review Comment:
   Please try to write a test case.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@zookeeper.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org