hachikuji commented on a change in pull request #10006: URL: https://github.com/apache/kafka/pull/10006#discussion_r568013407
########## File path: clients/src/test/java/org/apache/kafka/clients/consumer/internals/FetcherTest.java ########## @@ -1745,51 +1742,78 @@ public void testSeekWithInFlightReset() { assertEquals(237L, subscriptions.position(tp0).offset); } - @Timeout(10) + private boolean listOffsetMatchesExpectedReset( + TopicPartition tp, + OffsetResetStrategy strategy, + AbstractRequest request + ) { + if (!(request instanceof ListOffsetsRequest)) { + return false; Review comment: I pushed an update to turn these into assertions. I also filed https://issues.apache.org/jira/browse/KAFKA-12263. ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org