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
Lots of sockets not closed during testing #636
Comments
My guess is something about the StopableWSGIServer started by plone.testing (which is a thin wrapper around waitress). |
Closed
So this happens during the call to
I can remove several keys from it without problem:
But the offending one is
Looks like we need to close the |
mister-roboto
pushed a commit
to plone/buildout.coredev
that referenced
this issue
Dec 27, 2018
Branch: refs/heads/master Date: 2018-12-27T16:58:44+01:00 Author: Maurits van Rees (mauritsvanrees) <maurits@vanrees.org> Commit: plone/plone.restapi@7e57735 Close the api_session in tests. This prevents lots of ResourceWarnings about unclosed sockets. Fixes plone/plone.restapi#636 and plone/plone.restapi#648. Files changed: M CHANGES.rst M src/plone/restapi/tests/test_documentation.py Repository: plone.restapi Branch: refs/heads/master Date: 2018-12-28T00:01:34+01:00 Author: Gil Forcada Codinachs (gforcada) <gil.gnome@gmail.com> Commit: plone/plone.restapi@fbd357b Merge pull request #651 from plone/close-api-session Close the api_session in tests. Files changed: M CHANGES.rst M src/plone/restapi/tests/test_documentation.py
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Have a look at any 3.6/3.7 jenkins jobs, i.e. https://jenkins.plone.org/job/plone-5.2-python-3.6/ or https://jenkins.plone.org/job/plone-5.2-python-3.7/ and you will see that after this line:
Set up plone.restapi.testing.PloneRestApiDXLayer:Functional in 0.000 seconds.
There are lots, literally lots, of:
On the up side, it feels like all of them come from the very same place, so with one stone all of them might be gone 👍
The text was updated successfully, but these errors were encountered: