Commit a3499d77 authored by Sebastien Robin's avatar Sebastien Robin

taskdistribution tool, check state of test result before moving to fail

parent fc710aca
...@@ -248,6 +248,7 @@ class TaskDistributionTool(BaseTool): ...@@ -248,6 +248,7 @@ class TaskDistributionTool(BaseTool):
if node.getSimulationState() != 'failed': if node.getSimulationState() != 'failed':
break break
else: else:
if test_result.getSimulationState() not in ('failed', 'cancelled'):
test_result.fail() test_result.fail()
security.declarePublic('reportTaskStatus') security.declarePublic('reportTaskStatus')
......
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