cadonna commented on code in PR #12312: URL: https://github.com/apache/kafka/pull/12312#discussion_r901437357
########## streams/src/test/java/org/apache/kafka/streams/processor/internals/DefaultStateUpdaterTest.java: ########## @@ -652,7 +876,10 @@ private void verifyUpdatingTasks(final Task... tasks) throws Exception { "Did not get all updating task within the given timeout!" ); assertEquals(expectedUpdatingTasks.size(), updatingTasks.size()); - assertTrue(updatingTasks.stream().allMatch(task -> task.state() == State.RESTORING)); + assertTrue(updatingTasks.stream() + .allMatch(task -> task.isActive() && task.state() == State.RESTORING + || + !task.isActive() && task.state() == State.RUNNING)); Review Comment: Here I missed to verify the updating standby tasks before. -- 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