nicoloboschi opened a new pull request, #15513: URL: https://github.com/apache/pulsar/pull/15513
### Motivation I noticed an increased memory usage in long-running process which run the unit broker tests. After investigating I found out the introduction of mockito-inline is the culprit. In the documentation is specified that it this behaviour is possible and [there's a way to fix it](https://javadoc.io/doc/org.mockito/mockito-core/latest/org/mockito/Mockito.html#47) ### Modifications * Added the inline mocks cleanup between tests along with other mockito cleanups - [x] `no-need-doc` -- 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]
