poorbarcode opened a new pull request, #17106: URL: https://github.com/apache/pulsar/pull/17106
Fixes #16858 Master Issue: #16858 ### Motivation After Pulsar is started, still being spy-mock on `pulsarService`, which is prone to destabilizing mock objects. And these mocks are unnecessary https://github.com/apache/pulsar/blob/c1c3c86f83e6bece06c29bbdd6e5b1b1cb841ef5/pulsar-broker/src/test/java/org/apache/pulsar/broker/stats/LedgerOffloaderMetricsTest.java#L132-L133 ### Modifications remove unnecessary mocks ### Documentation - [ ] `doc-required` (Your PR needs to update docs and you will update later) - [x] `doc-not-needed` (Please explain why) - [ ] `doc` (Your PR contains doc changes) - [ ] `doc-complete` (Docs have been already added) -- 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]
