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 <[email protected]> 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()); }
