yashmayya commented on code in PR #12478: URL: https://github.com/apache/kafka/pull/12478#discussion_r960436353
########## connect/runtime/src/main/java/org/apache/kafka/connect/runtime/errors/RetryWithToleranceOperator.java: ########## @@ -175,9 +179,8 @@ protected <V> V execAndRetry(Operation<V> operation) throws Exception { log.trace("Caught a retriable exception while executing {} operation with {}", context.stage(), context.executingClass()); errorHandlingMetrics.recordFailure(); if (checkRetry(startTime)) { Review Comment: Fair enough, I do think that the relevant logic is already tested by the `testExecAndHandle...` tests (I've added an additional one to check the max retries exceeded case) -- 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