Commit e9679202 authored by Sebastien Robin's avatar Sebastien Robin

failed tests should be automatically restarted

parent 42a075df
...@@ -144,7 +144,7 @@ class TaskDistributionTool(BaseTool): ...@@ -144,7 +144,7 @@ class TaskDistributionTool(BaseTool):
test_result.serialize() # prevent duplicate test result lines test_result.serialize() # prevent duplicate test result lines
createTestResultLineList(test_result, test_name_list) createTestResultLineList(test_result, test_name_list)
return test_result.getRelativeUrl(), last_revision return test_result.getRelativeUrl(), last_revision
if last_state in ('stopped', 'failed'): if last_state in ('stopped',):
if reference_list_string is not None: if reference_list_string is not None:
if reference_list_string == test_result.getReference() \ if reference_list_string == test_result.getReference() \
and not allow_restart: and not allow_restart:
......
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