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 5d1d4f8ee Wait 2 seconds before validation
5d1d4f8ee is described below

commit 5d1d4f8ee2092aa227bedc76386988c08b6cde41
Author: Junkai Xue <[email protected]>
AuthorDate: Sun Apr 12 23:09:46 2026 -0700

    Wait 2 seconds before validation
---
 .../org/apache/helix/integration/rebalancer/TestInstanceOperation.java | 3 +++
 1 file changed, 3 insertions(+)

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 d20578707..fb389a341 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
@@ -1043,6 +1043,9 @@ public class TestInstanceOperation extends ZkTestBase {
     _gSetupTool.getClusterManagementTool()
         .setInstanceOperation(CLUSTER_NAME, swapOutName, 
InstanceConstants.InstanceOperation.EVACUATE);
 
+    // Wait for EVACUATE operation to be processed before validation
+    Thread.sleep(2000);
+
     // Assignment should not change yet
     validateEVsCorrect(getEVs(), originalEVs, swapOutToSwapIn,
         Collections.emptySet(), Collections.emptySet());

Reply via email to