-
Notifications
You must be signed in to change notification settings - Fork 14.2k
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
fix: Flaky test_explore_json_async test #26059
fix: Flaky test_explore_json_async test #26059
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #26059 +/- ##
==========================================
+ Coverage 69.08% 69.10% +0.01%
==========================================
Files 1941 1940 -1
Lines 75882 75869 -13
Branches 8443 8443
==========================================
+ Hits 52423 52426 +3
+ Misses 21284 21268 -16
Partials 2175 2175
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
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.
One small comment, but otherwise LGTM.
Co-authored-by: John Bodley <4567245+john-bodley@users.noreply.github.com>
Co-authored-by: John Bodley <4567245+john-bodley@users.noreply.github.com> (cherry picked from commit 2b88225)
Co-authored-by: John Bodley <4567245+john-bodley@users.noreply.github.com>
Co-authored-by: John Bodley <4567245+john-bodley@users.noreply.github.com>
Co-authored-by: John Bodley <4567245+john-bodley@users.noreply.github.com>
Co-authored-by: John Bodley <4567245+john-bodley@users.noreply.github.com>
SUMMARY
This PR fixes the following flaky CI error:
The problem is that the response status will vary if the results are cached which depends on the tests execution order. Given that both
200
and202
are valid response status for this endpoint, I updated the test to reflect that.TESTING INSTRUCTIONS
CI should be sufficient.
ADDITIONAL INFORMATION