shekhar-rajak commented on code in PR #12735: URL: https://github.com/apache/kafka/pull/12735#discussion_r993519986
########## connect/runtime/src/test/java/org/apache/kafka/connect/runtime/ErrorHandlingTaskTest.java: ########## @@ -494,72 +502,29 @@ private void assertErrorHandlingMetricValue(String name, double expected) { assertEquals(expected, measured, 0.001d); } - private void expectInitializeTask() { - consumer.subscribe(EasyMock.eq(singletonList(TOPIC)), EasyMock.capture(rebalanceListener)); - PowerMock.expectLastCall(); - - sinkTask.initialize(EasyMock.capture(sinkTaskContext)); - PowerMock.expectLastCall(); - sinkTask.start(TASK_PROPS); - PowerMock.expectLastCall(); - } - - private void expectTaskGetTopic(boolean anyTimes) { Review Comment: These has been handled in methods, where this was 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. To unsubscribe, e-mail: jira-unsubscr...@kafka.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org