muralibasani commented on code in PR #22294:
URL: https://github.com/apache/kafka/pull/22294#discussion_r3250039290


##########
storage/src/test/java/org/apache/kafka/tiered/storage/TieredStorageTestContext.java:
##########
@@ -218,7 +214,7 @@ public List<ConsumerRecord<String, String>> 
consume(TopicPartition topicPartitio
                 String.format("Could not consume %d records of %s from offset 
%d in %d ms. %d message(s) consumed:%s%s",
                         expectedTotalCount, topicPartition, fetchOffset, 
timeoutMs, records.size(), sep,
                         
records.stream().map(Object::toString).collect(Collectors.joining(sep)));
-        TestUtils.pollRecordsUntilTrue(consumer, pollAction, messageSupplier, 
timeoutMs, pollTimeoutMs);
+        kafka.utils.TestUtils.pollRecordsUntilTrue(consumer, pollAction, 
messageSupplier, timeoutMs, pollTimeoutMs);

Review Comment:
   Looks like this is last scala call in TestUtils in this Context class. I am 
not sure if it can be replaced with 
org.apache.kafka.test.TestUtils.waitForCondition ? 



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