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

haonan pushed a commit to branch rel/0.12
in repository https://gitbox.apache.org/repos/asf/iotdb.git


The following commit(s) were added to refs/heads/rel/0.12 by this push:
     new 5e876f3  [To rel/0.12] Fix CreateTimeseriesIT runs slow (#3724)
5e876f3 is described below

commit 5e876f3db8cd9c52606d3306688583677b0532d8
Author: Haonan <[email protected]>
AuthorDate: Thu Aug 12 10:06:36 2021 +0800

    [To rel/0.12] Fix CreateTimeseriesIT runs slow (#3724)
---
 .../java/org/apache/iotdb/db/integration/IoTDBCreateTimeseriesIT.java | 4 ++++
 1 file changed, 4 insertions(+)

diff --git 
a/server/src/test/java/org/apache/iotdb/db/integration/IoTDBCreateTimeseriesIT.java
 
b/server/src/test/java/org/apache/iotdb/db/integration/IoTDBCreateTimeseriesIT.java
index ba076bb..5b8a68a 100644
--- 
a/server/src/test/java/org/apache/iotdb/db/integration/IoTDBCreateTimeseriesIT.java
+++ 
b/server/src/test/java/org/apache/iotdb/db/integration/IoTDBCreateTimeseriesIT.java
@@ -79,6 +79,8 @@ public class IoTDBCreateTimeseriesIT {
     // ensure that current timeseries in cache is right.
     createTimeSeries1Tool(timeSeriesArray);
 
+    statement.close();
+    connection.close();
     EnvironmentUtils.stopDaemon();
     setUp();
 
@@ -126,6 +128,8 @@ public class IoTDBCreateTimeseriesIT {
     // ensure that current storage group in cache is right.
     createTimeSeries2Tool(storageGroup);
 
+    statement.close();
+    connection.close();
     EnvironmentUtils.stopDaemon();
     setUp();
 

Reply via email to