wcarlson5 commented on a change in pull request #9720: URL: https://github.com/apache/kafka/pull/9720#discussion_r562224408
########## File path: streams/src/test/java/org/apache/kafka/streams/integration/EosBetaUpgradeIntegrationTest.java ########## @@ -993,6 +986,17 @@ private void waitForStateTransition(final List<KeyValue<KafkaStreams.State, Kafk ); } + private void waitForStateTransitionContains(final List<KeyValue<KafkaStreams.State, KafkaStreams.State>> observed, + final List<KeyValue<KafkaStreams.State, KafkaStreams.State>> expected) + throws Exception { + + waitForCondition( + () -> observed.containsAll(expected), + MAX_WAIT_TIME_MS, + () -> "Client did not have the expected state transition on time. Observers transitions: " + observed Review comment: sure that is fine ---------------------------------------------------------------- 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: us...@infra.apache.org