lucasbru commented on code in PR #13336: URL: https://github.com/apache/kafka/pull/13336#discussion_r1126203147
########## streams/src/test/java/org/apache/kafka/streams/state/internals/metrics/RocksDBMetricsRecorderTest.java: ########## @@ -52,7 +52,6 @@ import static org.mockito.Mockito.verifyNoMoreInteractions; import static org.mockito.Mockito.when; -@RunWith(MockitoJUnitRunner.StrictStubs.class) Review Comment: I saw in the Mockito documentation that strict stubbing will be default from Mockito 4, but it seems that was just planned, and they postponed it later. Sorry for that. Here is a fix that re-enables strict stubbing with JUnit-5 for the test: https://github.com/apache/kafka/pull/13347 -- 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: jira-unsubscr...@kafka.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org