This is an automated email from the ASF dual-hosted git repository.
jackie pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/pinot.git
The following commit(s) were added to refs/heads/master by this push:
new cd26e4492c [Test] Use EV check to ensure table deletion (#14352)
cd26e4492c is described below
commit cd26e4492cfd915dc2b88faf997d31ec9cc92515
Author: Xiaotian (Jackie) Jiang <[email protected]>
AuthorDate: Thu Oct 31 23:31:02 2024 -0700
[Test] Use EV check to ensure table deletion (#14352)
---
.../pinot/integration/tests/BaseRealtimeClusterIntegrationTest.java | 1 +
.../pinot/integration/tests/OfflineClusterIntegrationTest.java | 2 +-
.../tests/RealtimeConsumptionRateLimiterClusterIntegrationTest.java | 6 +++---
3 files changed, 5 insertions(+), 4 deletions(-)
diff --git
a/pinot-integration-tests/src/test/java/org/apache/pinot/integration/tests/BaseRealtimeClusterIntegrationTest.java
b/pinot-integration-tests/src/test/java/org/apache/pinot/integration/tests/BaseRealtimeClusterIntegrationTest.java
index 44ef674438..d24c17c240 100644
---
a/pinot-integration-tests/src/test/java/org/apache/pinot/integration/tests/BaseRealtimeClusterIntegrationTest.java
+++
b/pinot-integration-tests/src/test/java/org/apache/pinot/integration/tests/BaseRealtimeClusterIntegrationTest.java
@@ -192,6 +192,7 @@ public abstract class BaseRealtimeClusterIntegrationTest
extends BaseClusterInte
throws Exception {
dropRealtimeTable(getTableName());
waitForTableDataManagerRemoved(TableNameBuilder.REALTIME.tableNameWithType(getTableName()));
+
waitForEVToDisappear(TableNameBuilder.REALTIME.tableNameWithType(getTableName()));
stopServer();
stopBroker();
stopController();
diff --git
a/pinot-integration-tests/src/test/java/org/apache/pinot/integration/tests/OfflineClusterIntegrationTest.java
b/pinot-integration-tests/src/test/java/org/apache/pinot/integration/tests/OfflineClusterIntegrationTest.java
index 0fa4868179..f323a88b7a 100644
---
a/pinot-integration-tests/src/test/java/org/apache/pinot/integration/tests/OfflineClusterIntegrationTest.java
+++
b/pinot-integration-tests/src/test/java/org/apache/pinot/integration/tests/OfflineClusterIntegrationTest.java
@@ -485,7 +485,7 @@ public class OfflineClusterIntegrationTest extends
BaseClusterIntegrationTestSet
}
waitForNumOfSegmentsBecomeOnline(offlineTableName, 1);
dropOfflineTable(SEGMENT_UPLOAD_TEST_TABLE);
- waitForTableDataManagerRemoved(offlineTableName);
+ waitForEVToDisappear(offlineTableName);
}
private void waitForNumOfSegmentsBecomeOnline(String tableNameWithType, int
numSegments)
diff --git
a/pinot-integration-tests/src/test/java/org/apache/pinot/integration/tests/RealtimeConsumptionRateLimiterClusterIntegrationTest.java
b/pinot-integration-tests/src/test/java/org/apache/pinot/integration/tests/RealtimeConsumptionRateLimiterClusterIntegrationTest.java
index 871230b63b..7473bcc75b 100644
---
a/pinot-integration-tests/src/test/java/org/apache/pinot/integration/tests/RealtimeConsumptionRateLimiterClusterIntegrationTest.java
+++
b/pinot-integration-tests/src/test/java/org/apache/pinot/integration/tests/RealtimeConsumptionRateLimiterClusterIntegrationTest.java
@@ -167,7 +167,7 @@ public class
RealtimeConsumptionRateLimiterClusterIntegrationTest extends BaseRe
}
} finally {
dropRealtimeTable(tableName);
-
waitForTableDataManagerRemoved(TableNameBuilder.REALTIME.tableNameWithType(tableName));
+
waitForEVToDisappear(TableNameBuilder.REALTIME.tableNameWithType(tableName));
}
}
@@ -227,9 +227,9 @@ public class
RealtimeConsumptionRateLimiterClusterIntegrationTest extends BaseRe
}
} finally {
dropRealtimeTable(tableName1);
-
waitForTableDataManagerRemoved(TableNameBuilder.REALTIME.tableNameWithType(tableName1));
dropRealtimeTable(tableName2);
-
waitForTableDataManagerRemoved(TableNameBuilder.REALTIME.tableNameWithType(tableName2));
+
waitForEVToDisappear(TableNameBuilder.REALTIME.tableNameWithType(tableName1));
+
waitForEVToDisappear(TableNameBuilder.REALTIME.tableNameWithType(tableName2));
}
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]