You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@bookkeeper.apache.org by lh...@apache.org on 2026/03/05 22:37:27 UTC

(bookkeeper) branch master updated: FlakyTest: testEmptyLedgerLosesQuorumEventually (#4672)

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

lhotari pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/bookkeeper.git


The following commit(s) were added to refs/heads/master by this push:
     new 425001f4e1 FlakyTest:  testEmptyLedgerLosesQuorumEventually (#4672)
425001f4e1 is described below

commit 425001f4e12badb959e40f33dedf03804848d2f2
Author: Xiangying Meng <55...@users.noreply.github.com>
AuthorDate: Fri Mar 6 06:37:20 2026 +0800

    FlakyTest:  testEmptyLedgerLosesQuorumEventually (#4672)
    
    Co-authored-by: xiangying <me...@xiaohongshu.com>
---
 .../org/apache/bookkeeper/replication/BookieAutoRecoveryTest.java   | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/bookkeeper-server/src/test/java/org/apache/bookkeeper/replication/BookieAutoRecoveryTest.java b/bookkeeper-server/src/test/java/org/apache/bookkeeper/replication/BookieAutoRecoveryTest.java
index d0ea91261a..b9d440c456 100644
--- a/bookkeeper-server/src/test/java/org/apache/bookkeeper/replication/BookieAutoRecoveryTest.java
+++ b/bookkeeper-server/src/test/java/org/apache/bookkeeper/replication/BookieAutoRecoveryTest.java
@@ -406,11 +406,11 @@ public class BookieAutoRecoveryTest extends BookKeeperClusterTestCase {
 
         getAuditor(10, TimeUnit.SECONDS).submitAuditTask().get(); // ensure auditor runs
 
-        assertTrue("Should be marked as underreplicated", latch.await(5, TimeUnit.SECONDS));
+        assertTrue("Should be marked as underreplicated", latch.await(20, TimeUnit.SECONDS));
         latch = new CountDownLatch(1);
         Stat s = watchUrLedgerNode(urZNode, latch); // should be marked as replicated
         if (s != null) {
-            assertTrue("Should be marked as replicated", latch.await(15, TimeUnit.SECONDS));
+            assertTrue("Should be marked as replicated", latch.await(20, TimeUnit.SECONDS));
         }
 
         replicaToKill = lh.getLedgerMetadata().getAllEnsembles().get(0L).get(1);
@@ -420,7 +420,7 @@ public class BookieAutoRecoveryTest extends BookKeeperClusterTestCase {
 
         getAuditor(10, TimeUnit.SECONDS).submitAuditTask().get(); // ensure auditor runs
 
-        assertTrue("Should be marked as underreplicated", latch.await(5, TimeUnit.SECONDS));
+        assertTrue("Should be marked as underreplicated", latch.await(20, TimeUnit.SECONDS));
         latch = new CountDownLatch(1);
         s = watchUrLedgerNode(urZNode, latch); // should be marked as replicated