You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@helix.apache.org by xy...@apache.org on 2023/04/12 20:16:58 UTC

[helix] branch master updated: Force clean Znodes in after class when tests failed to clean up in TestRawZkClient. (#2440)

This is an automated email from the ASF dual-hosted git repository.

xyuanlu pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/helix.git


The following commit(s) were added to refs/heads/master by this push:
     new daa27f960 Force clean Znodes in after class when tests failed to clean up in TestRawZkClient. (#2440)
daa27f960 is described below

commit daa27f960e227a1ad0a83a8ab0f903b4bba55d27
Author: xyuanlu <xy...@gmail.com>
AuthorDate: Wed Apr 12 13:16:52 2023 -0700

    Force clean Znodes in after class when tests failed to clean up in TestRawZkClient. (#2440)
---
 .../java/org/apache/helix/zookeeper/impl/client/TestRawZkClient.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/zookeeper-api/src/test/java/org/apache/helix/zookeeper/impl/client/TestRawZkClient.java b/zookeeper-api/src/test/java/org/apache/helix/zookeeper/impl/client/TestRawZkClient.java
index 9c33a6fef..12d572967 100644
--- a/zookeeper-api/src/test/java/org/apache/helix/zookeeper/impl/client/TestRawZkClient.java
+++ b/zookeeper-api/src/test/java/org/apache/helix/zookeeper/impl/client/TestRawZkClient.java
@@ -83,7 +83,7 @@ public class TestRawZkClient extends ZkTestBase {
 
   @AfterClass
   public void afterClass() {
-    _zkClient.delete(TEST_ROOT);
+    _zkClient.deleteRecursively(TEST_ROOT);
     _zkClient.deleteRecursively("/tmp");
     _zkClient.deleteRecursively("/my_cluster");
     _zkClient.close();