You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by hu...@apache.org on 2022/07/27 02:59:21 UTC

[iotdb] branch lmh/fixCI created (now b5f6d9eb6b)

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

hui pushed a change to branch lmh/fixCI
in repository https://gitbox.apache.org/repos/asf/iotdb.git


      at b5f6d9eb6b Fix IoTDBInsertWithoutTimeIT failure on CI

This branch includes the following new commits:

     new b5f6d9eb6b Fix IoTDBInsertWithoutTimeIT failure on CI

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[iotdb] 01/01: Fix IoTDBInsertWithoutTimeIT failure on CI

Posted by hu...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

hui pushed a commit to branch lmh/fixCI
in repository https://gitbox.apache.org/repos/asf/iotdb.git

commit b5f6d9eb6ba9336b4b63ddfb6eb20c89320812fe
Author: Minghui Liu <li...@foxmail.com>
AuthorDate: Wed Jul 27 10:57:59 2022 +0800

    Fix IoTDBInsertWithoutTimeIT failure on CI
---
 .../test/java/org/apache/iotdb/db/it/IoTDBInsertWithoutTimeIT.java | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/integration-test/src/test/java/org/apache/iotdb/db/it/IoTDBInsertWithoutTimeIT.java b/integration-test/src/test/java/org/apache/iotdb/db/it/IoTDBInsertWithoutTimeIT.java
index 70518b235a..9873715fab 100644
--- a/integration-test/src/test/java/org/apache/iotdb/db/it/IoTDBInsertWithoutTimeIT.java
+++ b/integration-test/src/test/java/org/apache/iotdb/db/it/IoTDBInsertWithoutTimeIT.java
@@ -79,12 +79,17 @@ public class IoTDBInsertWithoutTimeIT {
     try (Connection connection = EnvFactory.getEnv().getConnection();
         Statement statement = connection.createStatement()) {
       statement.execute("insert into root.sg1.d1(s1, s2, s3) values (1, 1, '1')");
+      Thread.sleep(100);
       statement.execute("insert into root.sg1.d1(s2, s1, s3) values (2, 2, '2')");
+      Thread.sleep(100);
       statement.execute("insert into root.sg1.d1(s3, s2, s1) values ('3', 3, 3)");
+      Thread.sleep(100);
       statement.execute("insert into root.sg1.d1(s1) values (1)");
+      Thread.sleep(100);
       statement.execute("insert into root.sg1.d1(s2) values (2)");
+      Thread.sleep(100);
       statement.execute("insert into root.sg1.d1(s3) values ('3')");
-    } catch (SQLException e) {
+    } catch (SQLException | InterruptedException e) {
       e.printStackTrace();
       fail(e.getMessage());
     }