mjsax commented on a change in pull request #9940:
URL: https://github.com/apache/kafka/pull/9940#discussion_r561429380
##########
File path:
streams/src/test/java/org/apache/kafka/streams/processor/internals/TaskManagerTest.java
##########
@@ -2779,6 +2779,62 @@ public void suspend() {
assertThat(task01.state(), is(Task.State.SUSPENDED));
}
+ @Test
+ public void shouldConvertActiveTaskToStandbyTask() {
+ final StreamTask activeTask = mock(StreamTask.class);
+ expect(activeTask.id()).andReturn(taskId00).anyTimes();
+
expect(activeTask.inputPartitions()).andReturn(taskId00Partitions).anyTimes();
Review comment:
Will fix right away -- Jenkins failed anyway and we need to rerun it.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]