merlimat opened a new pull request, #25381: URL: https://github.com/apache/pulsar/pull/25381
## Summary - Convert 30 test classes from `ProducerConsumerBase` to `SharedPulsarBaseTest` - Fix flaky tests caused by dedup cursor blocking ledger trimming (disable dedup on namespace for ledger trim tests) - Fix `AnalyzeBacklogSubscriptionTest` config leak (`subscriptionBacklogScanMaxEntries` not reset between methods) - Fix `CompactionConcurrencyTest` race condition assertion (in-memory metadata too fast for concurrent delete race) - Fix `SimpleProducerConsumerDisallowAutoCreateTopicTest` error message assertion (check exception type instead of message text) ### Tests not converted (incompatible with shared cluster): - `ConnectionHandlerTest` — `grabCnx()` doesn't trigger callback on shared client - `PersistentTopicProtectedMethodsTest` — backlog quota check timing incompatible - `TopicsConsumerImplTest` — partition auto-update 60s interval too long for assertions - `OrphanPersistentTopicTest` — requires Mockito spying on broker service - `ConsumerCreationTest` — `AutoTopicCreationOverride` NPE from config leak - `ProducerCreationTest` — hardcoded `public/default` namespace throughout - `EnableReplicatedSubscriptionsIsDisabledTest` — requires `enableReplicatedSubscriptions=false` - `SubscriptionPauseOnAckStatPersistTest` — manual managed ledger open needs more bookies ### Documentation - [ ] `doc-not-needed` ### Matching PR in forked repository PR in forked repository: <!-- ENTER URL HERE --> --- > [!TIP] > Add the label `ready-to-test` to trigger CI -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
