Commit 2baf3b1e authored by Sebastien Robin's avatar Sebastien Robin

erp5testnode: switch on another test suite if we had dead or too long process

parent 7e2877e4
...@@ -143,6 +143,7 @@ class ProcessManager(object): ...@@ -143,6 +143,7 @@ class ProcessManager(object):
if p.poll() is None: if p.poll() is None:
log('PROCESS TOO LONG OR DEAD, GOING TO BE TERMINATED') log('PROCESS TOO LONG OR DEAD, GOING TO BE TERMINATED')
killCommand(p.pid, log) killCommand(p.pid, log)
raise SubprocessError('Dead or too long process killed')
if self.under_cancellation: if self.under_cancellation:
raise CancellationError("Test Result was cancelled") raise CancellationError("Test Result was cancelled")
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment