Oliverwqcwrw commented on PR #4637: URL: https://github.com/apache/rocketmq/pull/4637#issuecomment-1217767670
> @Oliverwqcwrw Please fix test errors: > > ``` > Tests run: 25, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 27.275 sec <<< FAILURE! - in org.apache.rocketmq.client.consumer.DefaultLitePullConsumerTest > unnecessary Mockito stubbings(org.apache.rocketmq.client.consumer.DefaultLitePullConsumerTest) Time elapsed: 0.039 sec <<< ERROR! > org.mockito.exceptions.misusing.UnnecessaryStubbingException: > Unnecessary stubbings detected in test class: DefaultLitePullConsumerTest > Clean & maintainable test code requires zero unnecessary code. > Following stubbings are unnecessary (click to navigate to relevant line of code): > 1. -> at org.apache.rocketmq.client.consumer.DefaultLitePullConsumerTest.testPullTaskImpl_ProcessQueueNull(DefaultLitePullConsumerTest.java:356) > Please remove unnecessary stubbings or use 'lenient' strictness. More info: javadoc for UnnecessaryStubbingException class. > ``` Thanks for your review Which branch is your code? This branch of mine does not have this problem <img width="1087" alt="image" src="https://user-images.githubusercontent.com/31796988/185086083-bc5cbaf6-51dd-41a6-99f3-f898346b1d89.png"> -- 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]
