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 b30b4df3c Update jackson version and extend test timeout for 
TestZeroReplicaAvoidance
b30b4df3c is described below

commit b30b4df3c1d5232e07f2a2fdfce35b5d8c1a3b9f
Author: Junkai Xue <[email protected]>
AuthorDate: Fri Mar 6 21:48:44 2026 -0800

    Update jackson version and extend test timeout for TestZeroReplicaAvoidance
    
      1. Increased timeout: Changed from 1500ms to 5000ms (line 190)
        - More buffer time for async callbacks to complete on slower machines
      2. Added debug logging: Added System.out.println statements (lines 
186-191)
        - Logs when waiting for _testSuccess
        - Logs each check of _testSuccess value
        - Logs the final verification result
---
 helix-admin-webapp/pom.xml                                       | 4 ++--
 helix-core/pom.xml                                               | 2 +-
 .../helix/integration/rebalancer/TestZeroReplicaAvoidance.java   | 9 +++++++--
 helix-rest/pom.xml                                               | 4 ++--
 helix-view-aggregator/pom.xml                                    | 2 +-
 metadata-store-directory-common/pom.xml                          | 2 +-
 zookeeper-api/pom.xml                                            | 2 +-
 7 files changed, 15 insertions(+), 10 deletions(-)

diff --git a/helix-admin-webapp/pom.xml b/helix-admin-webapp/pom.xml
index a7632e3e5..2b9702216 100644
--- a/helix-admin-webapp/pom.xml
+++ b/helix-admin-webapp/pom.xml
@@ -95,12 +95,12 @@
     <dependency>
       <groupId>com.fasterxml.jackson.core</groupId>
       <artifactId>jackson-databind</artifactId>
-      <version>2.12.7.1</version>
+      <version>2.18.6</version>
     </dependency>
     <dependency>
       <groupId>com.fasterxml.jackson.core</groupId>
       <artifactId>jackson-core</artifactId>
-      <version>2.15.0</version>
+      <version>2.18.6</version>
     </dependency>
     <dependency>
       <groupId>commons-cli</groupId>
diff --git a/helix-core/pom.xml b/helix-core/pom.xml
index 9e25bf79c..276c2b95e 100644
--- a/helix-core/pom.xml
+++ b/helix-core/pom.xml
@@ -86,7 +86,7 @@
     <dependency>
       <groupId>com.fasterxml.jackson.core</groupId>
       <artifactId>jackson-databind</artifactId>
-      <version>2.12.7.1</version>
+      <version>2.18.6</version>
     </dependency>
     <dependency>
       <groupId>com.fasterxml.jackson.core</groupId>
diff --git 
a/helix-core/src/test/java/org/apache/helix/integration/rebalancer/TestZeroReplicaAvoidance.java
 
b/helix-core/src/test/java/org/apache/helix/integration/rebalancer/TestZeroReplicaAvoidance.java
index f574b6673..3c0c82149 100644
--- 
a/helix-core/src/test/java/org/apache/helix/integration/rebalancer/TestZeroReplicaAvoidance.java
+++ 
b/helix-core/src/test/java/org/apache/helix/integration/rebalancer/TestZeroReplicaAvoidance.java
@@ -182,9 +182,14 @@ public class TestZeroReplicaAvoidance extends ZkTestBase
     Assert.assertTrue(_clusterVerifier.verify(120000L));
     // Poll to ensure _testSuccess stays true after cluster stabilizes
     // This accounts for async callbacks that may still be processing
-    Assert.assertTrue(TestHelper.verify(() -> {
+    // Increased timeout for flaky test stability on slower CI machines
+    System.out.println("Waiting for _testSuccess to remain true after cluster 
stabilization...");
+    boolean testSuccessResult = TestHelper.verify(() -> {
+      System.out.println("Checking _testSuccess: " + _testSuccess);
       return _testSuccess;
-    }, TestHelper.DEFAULT_REBALANCE_PROCESSING_WAIT_TIME));
+    }, 5000);
+    System.out.println("_testSuccess verification result: " + 
testSuccessResult);
+    Assert.assertTrue(testSuccessResult);
 
     if (manager.isConnected()) {
       manager.disconnect();
diff --git a/helix-rest/pom.xml b/helix-rest/pom.xml
index 631519112..738d82b6e 100644
--- a/helix-rest/pom.xml
+++ b/helix-rest/pom.xml
@@ -126,12 +126,12 @@
     <dependency>
       <groupId>com.fasterxml.jackson.core</groupId>
       <artifactId>jackson-databind</artifactId>
-      <version>2.12.7.1</version>
+      <version>2.18.6</version>
     </dependency>
     <dependency>
       <groupId>com.fasterxml.jackson.core</groupId>
       <artifactId>jackson-annotations</artifactId>
-      <version>2.12.7</version>
+      <version>2.18.6</version>
     </dependency>
     <dependency>
       <groupId>commons-cli</groupId>
diff --git a/helix-view-aggregator/pom.xml b/helix-view-aggregator/pom.xml
index 89a3b7786..af595c18f 100644
--- a/helix-view-aggregator/pom.xml
+++ b/helix-view-aggregator/pom.xml
@@ -79,7 +79,7 @@ under the License.
     <dependency>
       <groupId>com.fasterxml.jackson.core</groupId>
       <artifactId>jackson-databind</artifactId>
-      <version>2.12.7.1</version>
+      <version>2.18.6</version>
     </dependency>
     <dependency>
       <groupId>com.fasterxml.jackson.core</groupId>
diff --git a/metadata-store-directory-common/pom.xml 
b/metadata-store-directory-common/pom.xml
index 0326edce4..4d4fbca6e 100644
--- a/metadata-store-directory-common/pom.xml
+++ b/metadata-store-directory-common/pom.xml
@@ -62,7 +62,7 @@
     <dependency>
       <groupId>com.fasterxml.jackson.core</groupId>
       <artifactId>jackson-databind</artifactId>
-      <version>2.12.7.1</version>
+      <version>2.18.6</version>
     </dependency>
     <dependency>
       <groupId>org.slf4j</groupId>
diff --git a/zookeeper-api/pom.xml b/zookeeper-api/pom.xml
index cb3e692f1..506da0f21 100644
--- a/zookeeper-api/pom.xml
+++ b/zookeeper-api/pom.xml
@@ -88,7 +88,7 @@
     <dependency>
       <groupId>com.fasterxml.jackson.core</groupId>
       <artifactId>jackson-databind</artifactId>
-      <version>2.12.7.1</version>
+      <version>2.18.6</version>
     </dependency>
     <dependency>
       <groupId>commons-codec</groupId>

Reply via email to