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


The following commit(s) were added to refs/heads/branch-3.0 by this push:
     new 6795caba648 [fix][test] Remove useless test code (#23823)
6795caba648 is described below

commit 6795caba64892086b91104c095c8e0696c2b4ea6
Author: ran <[email protected]>
AuthorDate: Thu Jan 9 04:05:21 2025 +0800

    [fix][test] Remove useless test code (#23823)
    
    (cherry picked from commit 6d59b1a292eea1469c606a346b4a8e32afc33254)
---
 .../apache/pulsar/broker/intercept/ManagedLedgerInterceptorImplTest.java | 1 -
 1 file changed, 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 ea06e9d67c3..e609212b5b3 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,7 +474,6 @@ public class ManagedLedgerInterceptorImplTest  extends 
MockedBookKeeperTestCase
         var addEntryCallback = new AsyncCallbacks.AddEntryCallback() {
             @Override
             public void addComplete(Position position, ByteBuf entryData, 
Object ctx) {
-                entryData.release();
                 countDownLatch.countDown();
                 successCount.incrementAndGet();
             }

Reply via email to