Russole commented on code in PR #22579:
URL: https://github.com/apache/kafka/pull/22579#discussion_r3415509688


##########
streams/integration-tests/src/test/java/org/apache/kafka/streams/integration/utils/IntegrationTestUtils.java:
##########
@@ -660,7 +658,7 @@ public static <K, V> List<ConsumerRecord<K, V>> 
waitUntilMinRecordsReceived(fina
                 final List<ConsumerRecord<K, V>> readData =
                     readRecords(topic, consumer, waitTime, expectedNumRecords);
                 accumData.addAll(readData);
-                assertThat(reason, accumData.size(), 
is(greaterThanOrEqualTo(expectedNumRecords)));
+                assertTrue(accumData.size() >= expectedNumRecords, reason);

Review Comment:
   Yes, that makes sense. I’ll look into migrating `ResetIntegrationTest` and 
`ResetIntegrationWithSslTest` to `ClusterInstance` so we can keep the 
dependency cleanup scoped to `tools` instead of changing `IntegrationTestUtils`.



-- 
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]

Reply via email to