-
Notifications
You must be signed in to change notification settings - Fork 797
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
Add retry to tests #5968
base: master
Are you sure you want to change the base?
Add retry to tests #5968
Conversation
Signed-off-by: Charlie Le <[email protected]>
Example retry: https://github.com/cortexproject/cortex/actions/runs/9196226564/job/25293837536?pr=5968
|
Im ok with this i guess |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good at first, but at the same time won't this increment the flaky tests?
I tried to fix some flaky tests today. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
Actually, I am a little bit concerned. If the test doesn't pass because the code has bug, it will still retry 3 times? |
Yeah.. lets hold this for now and try to make the tests more stable. |
What this PR does:
Adds retry to tests. This should improve the reliability of the tests.
Which issue(s) this PR fixes:
Fixes #
Checklist
CHANGELOG.md
updated - the order of entries should be[CHANGE]
,[FEATURE]
,[ENHANCEMENT]
,[BUGFIX]