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

Investigate leaking resources in tests #2216

Closed
LizardWizzard opened this issue Aug 4, 2022 · 0 comments
Closed

Investigate leaking resources in tests #2216

LizardWizzard opened this issue Aug 4, 2022 · 0 comments
Labels
a/test Area: related to testing

Comments

@LizardWizzard
Copy link
Contributor

In this PR I tried to enable pytest to treat warnings as errors and it turns out we have significant amount of resource warnings related to resources (most commonly sockets) which are not closed properly

@bayandin pointed out that pytest 7.1 introduces a way to trace this warnings to a point where resource was allocated. See: pytest-dev/pytest#9644 Because otherwise you have to guess what is causing the warning

@LizardWizzard LizardWizzard added the a/test Area: related to testing label Aug 4, 2022
@jcsp jcsp closed this as completed Apr 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
a/test Area: related to testing
Projects
None yet
Development

No branches or pull requests

2 participants