apalan60 commented on code in PR #19394:
URL: https://github.com/apache/kafka/pull/19394#discussion_r2047947955
##########
streams/integration-tests/src/test/java/org/apache/kafka/streams/integration/StreamsUncaughtExceptionHandlerIntegrationTest.java:
##########
@@ -336,16 +339,20 @@ private void testShutdownApplication(final int
numThreads) throws Exception {
final Topology topology = builder.build();
try (final KafkaStreams kafkaStreams1 = new KafkaStreams(topology,
properties);
- final KafkaStreams kafkaStreams2 = new KafkaStreams(topology,
properties)) {
+ final KafkaStreams kafkaStreams2 = new KafkaStreams(topology,
properties);
Review Comment:
I've updated the test to pass a ```MockTime``` object with a fixed
timestamp to ensure time doesn't advance during the test. This guarantees the
warning log is emitted only once and makes the assertion deterministic.
--
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]