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

Make read-write mode test robust to instance startup race condition. #3447

Merged
merged 1 commit into from
Nov 15, 2022

Conversation

charleskorn
Copy link
Contributor

What this PR does

Builds on #3423, split from #3433.

The read-write mode integration test occasionally fails due to errors like "expanding series: empty ring" when querying for data. This PR adds a check that waits for the ingesters to become active before proceeding with the test.

Which issue(s) this PR fixes or relates to

#3363

Checklist

  • [n/a] Tests updated
  • [n/a] Documentation added
  • [n/a] CHANGELOG.md updated - the order of entries should be [CHANGE], [FEATURE], [ENHANCEMENT], [BUGFIX]

Without this change, the test occasionally fails due to errors like
"expanding series: empty ring" when querying for data.
Copy link
Collaborator

@pracucci pracucci left a comment

Choose a reason for hiding this comment

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

LGTM, thanks!

@pracucci pracucci enabled auto-merge (squash) November 15, 2022 07:56
@pracucci pracucci merged commit ad8fca1 into main Nov 15, 2022
@pracucci pracucci deleted the read-write-mode-integration-test-robustness branch November 15, 2022 08:01
masonmei pushed a commit to udmire/mimir that referenced this pull request Dec 16, 2022
…rafana#3447)

Without this change, the test occasionally fails due to errors like
"expanding series: empty ring" when querying for data.
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