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 55e7d70f045f9..fa3d6ec6c9035 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 void testRepeatCloseCursor() throws Exception { assertEquals(cursor.getState(), ManagedCursorImpl.State.Closed.toString()); } + @Test public void testOpenCursorWithNullInitialPosition() throws Exception { ManagedLedgerConfig config = new ManagedLedgerConfig(); ManagedLedger ledger = factory.open("testOpenCursorWithNullInitialPosition", config);