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 <[email protected]>
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) {

Reply via email to