showuon commented on pull request #9942: URL: https://github.com/apache/kafka/pull/9942#issuecomment-766587188
So, to easily reproduce it, you can try to start the `EmbeddedConnectCluster` before the tests in `MirrorSourceConnectorTest`. What I did is to copy the beforeEach `startClusters()` method from `MirrorConnectorsIntegrationBaseTest` and paste into the `MirrorSourceConnectorTest`. So you'll find even we mock the method, the real methods still got called. ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org