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

test: Ensure ingester is active in ring before tests #10528

Merged
merged 1 commit into from
Jan 28, 2025

Conversation

56quarters
Copy link
Contributor

What this PR does

Fix flake in TestIngester_PrepareInstanceRingDownscaleHandler when tests were run before an ingester had actually joined the ring.

Which issue(s) this PR fixes or relates to

Fixes #9494

Checklist

  • Tests updated.
  • Documentation added.
  • CHANGELOG.md updated - the order of entries should be [CHANGE], [FEATURE], [ENHANCEMENT], [BUGFIX].
  • about-versioning.md updated with experimental features.

Fix flake in TestIngester_PrepareInstanceRingDownscaleHandler when tests
were run before an ingester had actually joined the ring.

Signed-off-by: Nick Pillitteri <[email protected]>
@56quarters
Copy link
Contributor Author

I haven't been able to reproduce the test flake in ~500 runs of the test in question.

@56quarters 56quarters marked this pull request as ready for review January 28, 2025 20:15
@56quarters 56quarters requested a review from a team as a code owner January 28, 2025 20:15
Copy link
Contributor

@aldernero aldernero left a comment

Choose a reason for hiding this comment

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

Nice

@56quarters 56quarters merged commit 0aeb211 into main Jan 28, 2025
28 checks passed
@56quarters 56quarters deleted the 56quarters/downscale-flake branch January 28, 2025 21:09
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.

Flaky TestIngester_PrepareInstanceRingDownscaleHandler
2 participants