FrankYang0529 commented on code in PR #16982:
URL: https://github.com/apache/kafka/pull/16982#discussion_r1762153062
##########
clients/src/test/java/org/apache/kafka/clients/consumer/KafkaConsumerTest.java:
##########
@@ -2479,23 +2487,29 @@ public void testCurrentLag(GroupProtocol groupProtocol)
{
consumer.seek(tp0, 50L);
consumer.poll(Duration.ofMillis(0));
// requests: list-offset, fetch
- assertEquals(2, client.inFlightRequestCount());
Review Comment:
With latest update, I run `I=0; while ./gradlew cleanTest :clients:test
--tests KafkaConsumerTest --rerun --fail-fast; do (( I=$I+1 )); echo
"Completed run: $I"; sleep 1; done` 100 times without error.
<img width="1311" alt="Screenshot 2024-09-17 at 9 26 24 AM"
src="https://github.com/user-attachments/assets/01254142-3e0a-4d7f-b604-8639d24dbb91">
--
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]