File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed
pulsar-broker/src/test/java/org/apache/pulsar/broker/service Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -147,10 +147,8 @@ public void testSnapshotCounterAfterUnload() throws Exception {
147
147
Awaitility .await ().untilAsserted (() -> {
148
148
int snapshotCounter3 = WhiteboxImpl .getInternalState (deduplication2 , "snapshotCounter" );
149
149
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.
152
150
// 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 );
154
152
});
155
153
156
154
// cleanup.
You can’t perform that action at this time.
0 commit comments