This is an automated email from the ASF dual-hosted git repository. yong pushed a commit to branch branch-4.17 in repository https://gitbox.apache.org/repos/asf/bookkeeper.git
commit 86bf81521056c98f443488f2c86a9f30577202bd Author: Xiangying Meng <[email protected]> AuthorDate: Fri Mar 6 06:37:20 2026 +0800 FlakyTest: testEmptyLedgerLosesQuorumEventually (#4672) Co-authored-by: xiangying <[email protected]> (cherry picked from commit 425001f4e12badb959e40f33dedf03804848d2f2) --- .../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 95e029271a..37844d8067 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
