squah-confluent commented on code in PR #21722:
URL: https://github.com/apache/kafka/pull/21722#discussion_r2930879420
##########
streams/integration-tests/src/test/java/org/apache/kafka/streams/integration/RestoreIntegrationTest.java:
##########
@@ -323,6 +323,11 @@ public void
shouldRestoreStateFromSourceTopicForReadOnlyStore(final boolean useN
startApplicationAndWaitUntilRunning(kafkaStreams);
}
+ waitForCondition(
+ () -> restored.get() > 0,
+ 10_000,
+ () -> "Did not restore any state within the timeout period."
+ );
Review Comment:
Thanks, that's a nicer solution!
--
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]