jeffkbkim commented on code in PR #15835: URL: https://github.com/apache/kafka/pull/15835#discussion_r1585255667
########## group-coordinator/src/test/java/org/apache/kafka/coordinator/group/runtime/MultiThreadedEventProcessorTest.java: ########## @@ -461,26 +459,30 @@ public void testMetrics() throws Exception { @Test public void testRecordThreadIdleRatioTwoThreads() throws Exception { GroupCoordinatorRuntimeMetrics mockRuntimeMetrics = mock(GroupCoordinatorRuntimeMetrics.class); + Time time = Time.SYSTEM; Review Comment: I used system time here because MockTime does not simulate on a per-thread basis -- 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