cea-hpc/clustershell — Issue #110: testThreadTaskWaitWhenNotStarted failure
Author: thiell
Created: 2012-03-03 16:47:42+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()

}}}