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

JackieTien97 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 1c709913143 [IT] Wait for asynchronous DROP TABLE before flushing in 
table deletion IT (#19123)
1c709913143 is described below

commit 1c709913143463fed1a2b7f8d010629001717cf1
Author: Jackie Tien <[email protected]>
AuthorDate: Wed Nov 4 16:44:59 2026 +0800

    [IT] Wait for asynchronous DROP TABLE before flushing in table deletion IT 
(#19123)
---
 .../apache/iotdb/relational/it/db/it/IoTDBDeletionTableIT.java    | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git 
a/integration-test/src/test/java/org/apache/iotdb/relational/it/db/it/IoTDBDeletionTableIT.java
 
b/integration-test/src/test/java/org/apache/iotdb/relational/it/db/it/IoTDBDeletionTableIT.java
index 6b979e287c9..2af7b372074 100644
--- 
a/integration-test/src/test/java/org/apache/iotdb/relational/it/db/it/IoTDBDeletionTableIT.java
+++ 
b/integration-test/src/test/java/org/apache/iotdb/relational/it/db/it/IoTDBDeletionTableIT.java
@@ -3251,7 +3251,9 @@ public class IoTDBDeletionTableIT {
         Statement statement = connection.createStatement()) {
       statement.execute("use deletion");
 
-      statement.execute("DROP TABLE vehicle" + testNum);
+      // Wait for the asynchronous drop, or the flush below may race with its 
data deletion and
+      // leave a mod-deleted TsFile that only a later settle compaction 
removes.
+      TestUtils.dropTable(connection, "deletion", "vehicle" + testNum);
 
       statement.execute("flush");
 
@@ -3361,7 +3363,9 @@ public class IoTDBDeletionTableIT {
         Statement statement = connection.createStatement()) {
       statement.execute("use deletion");
 
-      statement.execute("DROP TABLE vehicle" + testNum);
+      // Wait for the asynchronous drop, or the flush below may race with its 
data deletion and
+      // leave a mod-deleted TsFile that only a later settle compaction 
removes.
+      TestUtils.dropTable(connection, "deletion", "vehicle" + testNum);
 
       statement.execute("flush");
 

Reply via email to