Skip to content

Commit 621b41f

Browse files
authored
[fix][ci] Move flaky asyncMarkDeleteBlocking tests to flaky group (#25096)
1 parent e041fab commit 621b41f

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

managed-ledger/src/test/java/org/apache/bookkeeper/mledger/impl/ManagedCursorTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1350,7 +1350,7 @@ void cursorPersistence2() throws Exception {
13501350
assertEquals(c4.getMarkDeletedPosition(), p1);
13511351
}
13521352

1353-
@Test
1353+
@Test(groups = "flaky")
13541354
public void asyncMarkDeleteBlocking() throws Exception {
13551355
ManagedLedgerConfig config = new ManagedLedgerConfig();
13561356
config.setMaxEntriesPerLedger(10);
@@ -4509,7 +4509,7 @@ public void testLazyCursorLedgerCreation() throws Exception {
45094509
ledger.close();
45104510
}
45114511

4512-
@Test
4512+
@Test(groups = "flaky")
45134513
public void testLazyCursorLedgerCreationForSubscriptionCreation() throws Exception {
45144514
ManagedLedgerConfig managedLedgerConfig = new ManagedLedgerConfig();
45154515
ManagedLedgerImpl ledger =

managed-ledger/src/test/java/org/apache/bookkeeper/mledger/impl/NonDurableCursorTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -532,7 +532,7 @@ void markDeleteSkippingMessage() throws Exception {
532532
assertEquals(cursor.getReadPosition(), PositionFactory.create(p4.getLedgerId(), p4.getEntryId() + 1));
533533
}
534534

535-
@Test(timeOut = 20000)
535+
@Test(timeOut = 20000, groups = "flaky")
536536
public void asyncMarkDeleteBlocking() throws Exception {
537537
ManagedLedgerConfig config = new ManagedLedgerConfig();
538538
config.setMaxEntriesPerLedger(10);

0 commit comments

Comments
 (0)