You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by lh...@apache.org on 2025/04/17 21:54:41 UTC

(pulsar) 01/08: [fix][test]flaky-test:ManagedLedgerInterceptorImplTest.testManagedLedgerPayloadInputProcessorFailure (#24170)

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

lhotari pushed a commit to branch branch-3.0
in repository https://gitbox.apache.org/repos/asf/pulsar.git

commit 200d71536aea6f2b38843312d884fc7d10280d43
Author: Ruimin MA <ma...@gmail.com>
AuthorDate: Fri Apr 11 13:24:42 2025 +0800

    [fix][test]flaky-test:ManagedLedgerInterceptorImplTest.testManagedLedgerPayloadInputProcessorFailure (#24170)
    
    (cherry picked from commit acc9336267905dc2bc41c44bc0aa2f7b648c5599)
---
 .../pulsar/broker/intercept/ManagedLedgerInterceptorImplTest.java       | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pulsar-broker/src/test/java/org/apache/pulsar/broker/intercept/ManagedLedgerInterceptorImplTest.java b/pulsar-broker/src/test/java/org/apache/pulsar/broker/intercept/ManagedLedgerInterceptorImplTest.java
index e609212b5b3..8b49cc4bc52 100644
--- a/pulsar-broker/src/test/java/org/apache/pulsar/broker/intercept/ManagedLedgerInterceptorImplTest.java
+++ b/pulsar-broker/src/test/java/org/apache/pulsar/broker/intercept/ManagedLedgerInterceptorImplTest.java
@@ -474,8 +474,8 @@ public class ManagedLedgerInterceptorImplTest  extends MockedBookKeeperTestCase
         var addEntryCallback = new AsyncCallbacks.AddEntryCallback() {
             @Override
             public void addComplete(Position position, ByteBuf entryData, Object ctx) {
-                countDownLatch.countDown();
                 successCount.incrementAndGet();
+                countDownLatch.countDown();
             }
 
             @Override