You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by ji...@apache.org on 2022/01/05 07:44:17 UTC

[iotdb] branch client_manager_add_close updated: fix AsyncMetaClientTest

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

jiangtian pushed a commit to branch client_manager_add_close
in repository https://gitbox.apache.org/repos/asf/iotdb.git


The following commit(s) were added to refs/heads/client_manager_add_close by this push:
     new 0f62c08  fix AsyncMetaClientTest
0f62c08 is described below

commit 0f62c083597c85d76d797859e5043850f6e288f8
Author: jt <jt...@163.com>
AuthorDate: Wed Jan 5 15:43:16 2022 +0800

    fix AsyncMetaClientTest
---
 .../java/org/apache/iotdb/cluster/client/async/AsyncMetaClientTest.java | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/cluster/src/test/java/org/apache/iotdb/cluster/client/async/AsyncMetaClientTest.java b/cluster/src/test/java/org/apache/iotdb/cluster/client/async/AsyncMetaClientTest.java
index af58869..4785ac2 100644
--- a/cluster/src/test/java/org/apache/iotdb/cluster/client/async/AsyncMetaClientTest.java
+++ b/cluster/src/test/java/org/apache/iotdb/cluster/client/async/AsyncMetaClientTest.java
@@ -47,6 +47,7 @@ public class AsyncMetaClientTest extends BaseClientTest {
             + "dataPort:40010, clientPort:0, clientIp:localhost),port=9003}",
         metaClient.toString());
     assertCheck(metaClient);
+    factory.close();
   }
 
   @Test
@@ -61,6 +62,7 @@ public class AsyncMetaClientTest extends BaseClientTest {
             + "dataPort:40010, clientPort:0, clientIp:localhost),port=9004}",
         metaClient.toString());
     assertCheck(metaClient);
+    factory.close();
   }
 
   private void assertCheck(AsyncMetaClient dataClient) {