get rid of 'test left new threads behind' messages during 'make check'
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Triaged
|
Low
|
Unassigned |
Bug Description
This seems to be an error reported by Zope.
sourcecode/
# Did the test leave any new threads behind?
new_threads = [t for t in threading.
if new_threads:
print "The following test left new threads behind:"
print test
print "New thread(s):", new_threads
sourcecode/
# Get rid of the 'test left new threads behind' warning
yuck!
While running 'make check' on a multiprocessor machine, I get plenty of these messages about test leaving threads behind. Here is an example:
The following test left new threads behind:
test_probe_
New thread(s): [<Thread(
test_
It would be good to clean these up (without resorting to sleep calls).
Changed in launchpad-foundations: | |
status: | New → Triaged |
importance: | Undecided → Low |
paste has a facility to kill threads, could grab that and use it.