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


##########
streams/src/test/java/org/apache/kafka/streams/processor/internals/TaskManagerTest.java:
##########
@@ -4229,11 +4208,6 @@ public void shouldPunctuateActiveTasks() {
         final TasksRegistry tasks = mock(TasksRegistry.class);
         when(tasks.activeTasks()).thenReturn(Set.of(task00));
 
-        when(stateUpdater.restoresActiveTasks()).thenReturn(false);
-        when(stateUpdater.hasExceptionsAndFailedTasks()).thenReturn(false);
-        
when(stateUpdater.drainRestoredActiveTasks(any(Duration.class))).thenReturn(Set.of());
-        
when(stateUpdater.drainExceptionsAndFailedTasks()).thenReturn(List.of());

Review Comment:
   These stubbings were added in the previous PR and are actually unnecessary.



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