Skip to content

Fixing Flaky AM test #4865

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
Sep 15, 2022
Merged

Conversation

alanprot
Copy link
Member

What this PR does:
This is just fixing the test introduced by #4840

The tests sets the number of AM to fail/succeed but as we pick them randomly the tests can fail (if for instance we expect one retry but we pick a health ingester in the first try)

This change the tests to always return the failures first no matter which AM we pick.

Signed-off-by: Alan Protasio <approtas@amazon.com>
@alanprot alanprot merged commit 81def48 into cortexproject:master Sep 15, 2022
@alanprot alanprot deleted the fix/flaky-test branch September 15, 2022 07:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants