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 c369b05980fec3365d38fc9f304ed6128f96ec02
Author: Lari Hotari <[email protected]>
AuthorDate: Mon Dec 15 10:17:34 2025 +0200

    [fix][branch-3.0] Fix cherry-picking issue
    
    - in cherry-picking of #24655 in commit d392976
---
 .../test/java/org/apache/bookkeeper/mledger/impl/ManagedCursorTest.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/managed-ledger/src/test/java/org/apache/bookkeeper/mledger/impl/ManagedCursorTest.java
 
b/managed-ledger/src/test/java/org/apache/bookkeeper/mledger/impl/ManagedCursorTest.java
index fff2a61530e..3ed4ad303ba 100644
--- 
a/managed-ledger/src/test/java/org/apache/bookkeeper/mledger/impl/ManagedCursorTest.java
+++ 
b/managed-ledger/src/test/java/org/apache/bookkeeper/mledger/impl/ManagedCursorTest.java
@@ -5382,7 +5382,7 @@ public class ManagedCursorTest extends 
MockedBookKeeperTestCase {
 
         ManagedLedgerImpl spyLedger = spy(ledgerImpl);
 
-        Position readPosition = PositionFactory.create(firstLedgerId, 0);
+        PositionImpl readPosition = PositionImpl.get(firstLedgerId, 0);
         CountDownLatch readLatch = new CountDownLatch(1);
 
         ReadEntriesCallback callback = new ReadEntriesCallback() {

Reply via email to