Skip to content

KAFKA-17535: Flaky testCloseNoWait in KafkaConsumerTest for Classic Consumer - #23365

Open
gabriellefu wants to merge 2 commits into
apache:trunkfrom
gabriellefu:flaky
Open

KAFKA-17535: Flaky testCloseNoWait in KafkaConsumerTest for Classic Consumer#23365
gabriellefu wants to merge 2 commits into
apache:trunkfrom
gabriellefu:flaky

Conversation

@gabriellefu

Copy link
Copy Markdown
Contributor
  • Replace closeTimeoutMs with TestUtils.DEFAULT_MAX_WAIT_MS in the final future.get(...) call, since closeTimeoutMs is enforced against MockTime and can't bound a real-time wait.
  • Replace the hardcoded 1000 in the two client.waitForRequests(...) calls with TestUtils.DEFAULT_MAX_WAIT_MS, since that wait is also measured in real time and 1s wasn't always enough under load.

@github-actions github-actions Bot added triage PRs from the community consumer tests Test fixes (including flaky tests) clients small Small PRs labels Sep 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci-approved clients consumer small Small PRs tests Test fixes (including flaky tests) triage PRs from the community

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants