Skip to content

Commit c2532b9

Browse files
committed
[fix][test][branch-3.2] Fix DeduplicationDisabledBrokerLevelTest. Adjust to PR 22034 presence.
1 parent 41610ee commit c2532b9

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

pulsar-broker/src/test/java/org/apache/pulsar/broker/service/DeduplicationDisabledBrokerLevelTest.java

+1-3
Original file line numberDiff line numberDiff line change
@@ -147,10 +147,8 @@ public void testSnapshotCounterAfterUnload() throws Exception {
147147
Awaitility.await().untilAsserted(() -> {
148148
int snapshotCounter3 = WhiteboxImpl.getInternalState(deduplication2, "snapshotCounter");
149149
assertTrue(snapshotCounter3 < brokerDeduplicationEntriesInterval);
150-
// Since https://github.com/apache/pulsar/pull/22034 has not been cherry-pick into branch-3.0, there
151-
// should be 2 ledgers.
152150
// Verify: the previous ledger will be removed because all messages have been acked.
153-
assertEquals(ml2.getLedgersInfo().size(), 2);
151+
assertEquals(ml2.getLedgersInfo().size(), 1);
154152
});
155153

156154
// cleanup.

0 commit comments

Comments
 (0)