vamossagar12 commented on code in PR #13726:
URL: https://github.com/apache/kafka/pull/13726#discussion_r1218214268


##########
connect/runtime/src/test/java/org/apache/kafka/connect/runtime/ExactlyOnceWorkerSourceTaskTest.java:
##########
@@ -483,6 +494,37 @@ public void testFailureInPoll() throws Exception {
         assertPollMetrics(0);
     }
 
+    @Test
+    public void testRetriableExceptionInPoll() throws Exception {
+
+        final ErrorHandlingMetrics errorHandlingMetrics = 
mock(ErrorHandlingMetrics.class);
+        final RetryWithToleranceOperator retryWithToleranceOperator = new 
RetryWithToleranceOperator(30, 15, ALL, SYSTEM, errorHandlingMetrics);

Review Comment:
   yeah. I guess that's expected as explained already 
[here](https://github.com/apache/kafka/pull/13726#discussion_r1218190316)?



-- 
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

Reply via email to