Skip to content
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

TestMultipleClients*: Poll for the memberlist status for 10 seconds #608

Merged
merged 1 commit into from
Oct 11, 2024

Conversation

julienduchesne
Copy link
Member

@julienduchesne julienduchesne commented Oct 10, 2024

Flaky test run: https://github.com/grafana/dskit/actions/runs/11281170696
Closes #389

These tests are highly dependant on timing, which makes them flaky. For example, they don't fail on my machine unless I cut down the initial update time a bit, but they seem to fail often on Github Actions. I think this is due to machine power.

Solution: Poll for a bit longer at the end to make sure that the memberlist was updated

@julienduchesne julienduchesne requested a review from a team October 10, 2024 18:44
@julienduchesne julienduchesne marked this pull request as ready for review October 10, 2024 18:46
Closes #389

These tests are highly dependant on timing, which makes them flaky. Poll for a bit longer at the end to make sure that the memberlist was updated
@julienduchesne julienduchesne force-pushed the julienduchesne/memberlist-test-poll branch from 5c302c0 to 2493afc Compare October 10, 2024 19:59
@seizethedave seizethedave self-requested a review October 11, 2024 19:11
Copy link
Contributor

@seizethedave seizethedave left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

@seizethedave seizethedave merged commit a36b0cc into main Oct 11, 2024
85 checks passed
@seizethedave seizethedave deleted the julienduchesne/memberlist-test-poll branch October 11, 2024 19:43
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.

kv/memberlist: test failure on Mac
2 participants