This is an automated email from the ASF dual-hosted git repository.
haonan pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/iotdb.git
The following commit(s) were added to refs/heads/master by this push:
new 4f6b0e72e3 Fix IoTDBInsertWithoutTimeIT failure on CI (#6790)
4f6b0e72e3 is described below
commit 4f6b0e72e3f3d4b2e0a4f5361fe0072ff5136475
Author: liuminghui233 <[email protected]>
AuthorDate: Wed Jul 27 15:05:48 2022 +0800
Fix IoTDBInsertWithoutTimeIT failure on CI (#6790)
---
.../test/java/org/apache/iotdb/db/it/IoTDBInsertWithoutTimeIT.java | 5 ++++-
1 file changed, 4 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..5a57ba9546 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,15 @@ 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(1);
statement.execute("insert into root.sg1.d1(s2, s1, s3) values (2, 2,
'2')");
+ Thread.sleep(1);
statement.execute("insert into root.sg1.d1(s3, s2, s1) values ('3', 3,
3)");
+ Thread.sleep(1);
statement.execute("insert into root.sg1.d1(s1) values (1)");
statement.execute("insert into root.sg1.d1(s2) values (2)");
statement.execute("insert into root.sg1.d1(s3) values ('3')");
- } catch (SQLException e) {
+ } catch (SQLException | InterruptedException e) {
e.printStackTrace();
fail(e.getMessage());
}