[Mailman-Developers] Problem running tox on hyperkitty

Mark Sapiro mark at msapiro.net
Mon Mar 19 18:30:39 EDT 2018


I am trying to run

tox -e py35-django111

on HyperKitty. I run into an issue in that the tests run up to a point
after which all but the last 2 fail with a "too many open files"
exception. These files are logs created in directories
/tmp/hyperkitty-testing-*, and over 100 /tmp/hyperkitty-testing-*
directories are left behind. This is with an open file limit of 1024.

If I raise the limit to 4096, everything runs and no
/tmp/hyperkitty-testing-* directories are left behind, but it seems
perhaps hyperkitty/tests/utils.TestCase._post_teardown() should have
something added to undo what hyperkitty/tests/utils.setup_logging() sets up.

-- 
Mark Sapiro <mark at msapiro.net>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan


More information about the Mailman-Developers mailing list