Opened 12 years ago

Closed 12 years ago

#2568 defect closed duplicate (duplicate)

trial cleanThreads breaks run until-failure

Reported by: therve Owned by:
Priority: normal Milestone:
Component: trial Keywords:
Cc: Branch:


See this simple example:

from twisted.trial import unittest
from twisted.internet import reactor

class Test1(unittest.TestCase):
    def test_1(self):
        def cb(res):
            self.assertEquals(res, '')
        return reactor.resolve("localhost").addCallback(cb)

With trial -u, it hangs on the second run.

I'm not exactly sure where the problem comes from. If I remove the threadpool creation in do_cleanThreads (done in [15541]), the problem disappears, but others appear of course.

Change History (4)

comment:1 Changed 12 years ago by therve

When looking at a solution, I've been hit by #1832...

comment:2 Changed 12 years ago by Jean-Paul Calderone

See #2448, #2498, and #962, also.

comment:3 Changed 12 years ago by therve

Resolution: duplicate
Status: newclosed

Looks like the same as #2448 at least.

comment:4 Changed 8 years ago by <automation>

Owner: Jonathan Lange deleted
Note: See TracTickets for help on using tickets.