squah-confluent commented on code in PR #21722:
URL: https://github.com/apache/kafka/pull/21722#discussion_r2929553454
##########
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:
@lucasbru Is there a nicer way to write this?
In these tests we restart the Kafka streams client when using the new
protocol, which triggers the assignment delay.
--
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]