shashankhs11 commented on code in PR #20829:
URL: https://github.com/apache/kafka/pull/20829#discussion_r2492561668


##########
streams/src/test/java/org/apache/kafka/streams/processor/internals/TaskManagerTest.java:
##########
@@ -1565,7 +1595,7 @@ private void 
verifyTransitionToRunningOfRestoredTask(final Set<StreamTask> resto
                                                          final TasksRegistry 
tasks) {
         for (final StreamTask restoredTask : restoredTasks) {
             verify(restoredTask).completeRestoration(noOpResetter);
-            verify(restoredTask).clearTaskTimeout();
+            verify(restoredTask, atLeastOnce()).clearTaskTimeout();

Review Comment:
   I added this because, one of the tests `shouldAddNewActiveTasks` was failing 
as it expected the call to `clearTaskTimeout()` more than once. 



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to