-
Notifications
You must be signed in to change notification settings - Fork 146
chore: rerun flaky tests #1367
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
base: main
Are you sure you want to change the base?
chore: rerun flaky tests #1367
Conversation
There are a number of tests which can be flaky due to internal connections. Signed-off-by: JP-Ellis <josh@jpellis.me>
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.
Pull request overview
This PR adds automatic test rerun functionality to handle flaky tests caused by internal connection issues. The configuration retries failing tests up to 5 times, excluding assertion errors from reruns.
Changes
- Configures pytest to automatically rerun flaky tests with specific exception handling
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
❌ 1 Tests Failed:
View the top 3 failed test(s) by shortest run time
To view more test analytics, go to the Test Analytics Dashboard |
📝 Summary
There are a number of tests which can be flaky due to internal connections.
🚨 Breaking Changes🔥 Motivation
Ideally, the tests shouldn't be flaky, and while some improvements have been made to have tests less flaky, they still can be flaky (especially on Linux for some reason).
🔨 Test Plan
Time will tell.
🔗 Related issues/PRs