detect temporary files left around by tests

Bug #587771 reported by Adam Groszer
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
zope.testing
Invalid
Undecided
Unassigned
zope.testrunner
Invalid
Undecided
Unassigned

Bug Description

Some tests leave their temp files/folders undeleted.
Those are annoying and fill up the disk especially on buildbots.

Revision history for this message
Tres Seaver (tseaver) wrote :

Unless you add an API for building the tempfiles in a specific location,
and change the tests to use that API, I can't see any way to detect leaked
tempfiles algorithmically: the best we could do is some kind of heuristic.

Please don't even *think* about monkey-patching the stdlib's tempfile module.

Revision history for this message
Colin Watson (cjwatson) wrote :

The zope.testing project on Launchpad has been archived at the request of the Zope developers (see https://answers.launchpad.net/launchpad/+question/683589 and https://answers.launchpad.net/launchpad/+question/685285). If this bug is still relevant, please refile it at https://github.com/zopefoundation/zope.testing.

Changed in zope.testing:
status: New → Invalid
Revision history for this message
Colin Watson (cjwatson) wrote :

The zope.testrunner project on Launchpad has been archived at the request of the Zope developers (see https://answers.launchpad.net/launchpad/+question/683589 and https://answers.launchpad.net/launchpad/+question/685285). If this bug is still relevant, please refile it at https://github.com/zopefoundation/zope.testrunner.

Changed in zope.testrunner:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.