This is an automated email from the ASF dual-hosted git repository.
tison pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/pulsar.git
The following commit(s) were added to refs/heads/master by this push:
new 154fb8b6b47 [improve][test] Add missing @Test annotation (#18528)
154fb8b6b47 is described below
commit 154fb8b6b4722c6d93eb1f5beee15c3eeb7b109b
Author: Michael Marshall <[email protected]>
AuthorDate: Fri Nov 18 02:16:35 2022 -0800
[improve][test] Add missing @Test annotation (#18528)
---
.../test/java/org/apache/bookkeeper/mledger/impl/ManagedCursorTest.java | 1 +
1 file changed, 1 insertion(+)
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 55e7d70f045..fa3d6ec6c90 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
@@ -158,6 +158,7 @@ public class ManagedCursorTest extends
MockedBookKeeperTestCase {
assertEquals(cursor.getState(),
ManagedCursorImpl.State.Closed.toString());
}
+ @Test
public void testOpenCursorWithNullInitialPosition() throws Exception {
ManagedLedgerConfig config = new ManagedLedgerConfig();
ManagedLedger ledger =
factory.open("testOpenCursorWithNullInitialPosition", config);