From e9679202cfa208adfbe3b0e5823713c86934dccb Mon Sep 17 00:00:00 2001 From: Sebastien Robin <seb@nexedi.com> Date: Wed, 23 Jan 2013 15:23:25 +0100 Subject: [PATCH] failed tests should be automatically restarted --- product/ERP5/Tool/TaskDistributionTool.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/product/ERP5/Tool/TaskDistributionTool.py b/product/ERP5/Tool/TaskDistributionTool.py index d5da632156..2e9e70b501 100644 --- a/product/ERP5/Tool/TaskDistributionTool.py +++ b/product/ERP5/Tool/TaskDistributionTool.py @@ -144,7 +144,7 @@ class TaskDistributionTool(BaseTool): test_result.serialize() # prevent duplicate test result lines createTestResultLineList(test_result, test_name_list) 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 == test_result.getReference() \ and not allow_restart: -- 2.30.9