提交 766e987e 编写于 作者: M Matteo Merli 提交者: GitHub

Fix for flaky test in testLeakFailedLedgerOfManageCursor (#365)

上级 3b99f304
......@@ -2435,6 +2435,9 @@ public class ManagedCursorTest extends MockedBookKeeperTestCase {
}
});
// Wait until operation is completed and the failed ledger should have been deleted
latch2.await();
try {
bkc.openLedgerNoRecovery(ledgerId, mlConfig.getDigestType(), mlConfig.getPassword());
fail("ledger should have deleted due to update-cursor failure");
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册