This is an automated email from the ASF dual-hosted git repository.
jxue pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/helix.git
The following commit(s) were added to refs/heads/master by this push:
new be0bdba15 Fix TestInstanceOperation structure
be0bdba15 is described below
commit be0bdba15ee2524f907701afcd9f9d803d436f4c
Author: Junkai Xue <[email protected]>
AuthorDate: Tue Feb 24 19:54:31 2026 -0800
Fix TestInstanceOperation structure
1. testEvacuateWithDisabledPartition: Changed hardcoded 5000ms timeout to
TIMEOUT (10000ms)
2. validateRoutingTablesInstance: Added polling mechanism with
configurable timeout
3. Method signatures: Added throws Exception to handle the checked
exception from the verifier method
[INFO] Tests run: 27, Failures: 0, Errors: 0, Skipped: 0, Time elapsed:
700.021 s - in org.apache.helix.integration.rebalancer.TestInstanceOperation
[INFO]
[INFO] Results:
[INFO]
[INFO] Tests run: 27, Failures: 0, Errors: 0, Skipped: 0
[INFO]
[INFO]
[INFO] --- jacoco-maven-plugin:0.8.6:report (generate-code-coverage-report)
@ helix-core ---
[INFO] Loading execution data file
/Users/dasahcc/Apache/helix/helix-core/target/jacoco.exec
[INFO] Analyzed bundle 'Apache Helix :: Core' with 964 classes
[INFO]
------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 11:56 min
[INFO] Finished at: 2026-02-24T20:09:56-08:00
[INFO]
------------------------------------------------------------------------
---
.../apache/helix/integration/rebalancer/TestInstanceOperation.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git
a/helix-core/src/test/java/org/apache/helix/integration/rebalancer/TestInstanceOperation.java
b/helix-core/src/test/java/org/apache/helix/integration/rebalancer/TestInstanceOperation.java
index 5ea4ae7ed..97bb7c939 100644
---
a/helix-core/src/test/java/org/apache/helix/integration/rebalancer/TestInstanceOperation.java
+++
b/helix-core/src/test/java/org/apache/helix/integration/rebalancer/TestInstanceOperation.java
@@ -1832,12 +1832,12 @@ public class TestInstanceOperation extends ZkTestBase {
}
private void validateRoutingTablesInstance(Map<String, ExternalView> evs,
String instanceName,
- boolean shouldContain) {
+ boolean shouldContain) throws Exception {
validateRoutingTablesInstance(evs, instanceName, shouldContain, TIMEOUT);
}
private void validateRoutingTablesInstance(Map<String, ExternalView> evs,
String instanceName,
- boolean shouldContain, long timeout) {
+ boolean shouldContain, long timeout) throws Exception {
RoutingTableProvider[] routingTableProviders =
new RoutingTableProvider[]{_routingTableProviderDefault,
_routingTableProviderEV, _routingTableProviderCS};