Skip to content

chore: fix flaky TestRebalanceTooManyConsumers #1380

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 1, 2025

Conversation

petedannemann
Copy link
Contributor

@petedannemann petedannemann commented Apr 30, 2025

This test has been failing sporadically, especially against Kafka 2.8.1. It appears to be due to a race condition, and that version of Kafka may have slightly higher latency that explains why it happens so often there.

Proof this fixed it:

go test -count 10 --failfast -run TestRebalanceTooManyConsumers
PASS
ok      github.com/segmentio/kafka-go   103.900s

@petedannemann petedannemann marked this pull request as ready for review April 30, 2025 21:20
@petedannemann petedannemann merged commit f72adcc into main May 1, 2025
11 checks passed
@petedannemann petedannemann deleted the fix/testrebalancetoomanyconsumers branch May 1, 2025 13:13
LeonHartley pushed a commit to LeonHartley/kafka-go that referenced this pull request May 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants