FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

fix flaky query evictor tests by SungJin1212 · Pull Request #7817 · cortexproject/cortex · GitHub

fix flaky query evictor tests - #7817

Open
SungJin1212 wants to merge 1 commit into
masterfrom
Fix-flaky-evvictor-tests
Open

SungJin1212 wants to merge 1 commit into
masterfrom
Fix-flaky-evvictor-tests

Conversation

Copy link
Copy Markdown
Member

What this PR does:
This PR fixes flaky query evictor tests by adding polling.

The evictor could close the evicted channel before incrementing evictionsTotal, so waitEvicted can return while the counter is still 0.

Which issue(s) this PR fixes:
Fixes #

Checklist

  • Tests updated
  • Documentation added
  • CHANGELOG.md updated - the order of entries should be [CHANGE], [FEATURE], [ENHANCEMENT], [BUGFIX]
  • docs/configuration/v1-guarantees.md updated if this PR introduces experimental flags

Signed-off-by: SungJin1212 <tjdwls1201@gmail.com>
SungJin1212 requested a review from a team as a code owner August 27, 2026 11:15
SungJin1212 requested a review from friedrichg August 27, 2026 11:15
SungJin1212 changed the title fix flaky evictor tests fix flaky query evictor tests Aug 27, 2026

This branch has not been deployed

No deployments
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant


Back | FazBrowse Home | New Git URL