-
Notifications
You must be signed in to change notification settings - Fork 20
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: do not log .conf parser warnings from all workers #845
Conversation
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.
Please extract this logic in a helper function, it's been used several times already across the codebase.
Done |
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.
I'd consider creating separate utils file with check_first_worker() instead of having delayed imports. @artemrys wdyt?
I thought the same but because it was only one small function i thought it was not needed, but we can do that. |
🎉 This PR is included in version 5.3.0-beta.3 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
🎉 This issue has been resolved in version 5.4.0-beta.1 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
When tests are ran with multiple workers, duplicate logging is observed because every workers logs the warning.
This PR fixes that.