thiell/test — Issue #172: testThreadTaskWaitWhenNotStarted failure
Author: thiell
Created: 2012-03-03 16:35:36+00:00
State: open
Labels: Lib

Investigate and fix the following test. It's working but Python interpreter is hanging at the end (thread not joined?).

{{{
#!python
def testThreadTaskWaitWhenNotStarted(self):
"""test task_wait() when workers not started"""

for i in range(1, 5):
task = Task()
task.shell("sleep %d" % i)

task_wait()
task.resume()

}}}