Skip to content
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 some tests that are checking logs incorrectly #9780

Merged
merged 1 commit into from
Apr 7, 2021

Conversation

pfmoore
Copy link
Member

@pfmoore pfmoore commented Apr 5, 2021

These tests are failing on my machine. They seem to be expecting certain log output, but are getting unexpected records. I don't know if that's because somehow a bug got released and the tests are actually wrong (the CI for the main branch seems broken at the moment) or if it's something weird on my PC¹. But this change fixes the issue, so it's probably worth having.

Obviously a better fix would be to work out why (and when) the tests started failing, and fix the root cause, but I don't have the time for that now, and I needed these fixes to get the test suite working again. I'm happy to withdraw this if someone wants to submit a proper fix.

¹ Running the test suite locally feels a bit like playing whack-a-mole with intermittent errors right now, and I've no idea why 🙁

@pfmoore pfmoore added the skip news Does not need a NEWS file entry (eg: trivial changes) label Apr 5, 2021
@pfmoore pfmoore mentioned this pull request Apr 5, 2021
Copy link
Member

@uranusjr uranusjr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As good as this can be without nuking those tests entirely, I guess.

@pfmoore pfmoore merged commit 88464be into pypa:main Apr 7, 2021
@pfmoore pfmoore deleted the test_fixes branch April 7, 2021 13:52
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 30, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
skip news Does not need a NEWS file entry (eg: trivial changes)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants