Bug 1557038 - [test isolation] change test isolation tasks to tier 3, r=gbrown.

Depends on D35235

Differential Revision: https://phabricator.services.mozilla.com/D35236

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Bob Clary 2019-06-18 20:18:05 +00:00
parent ffb3ef5c3c
commit 4232bc95a0

View File

@ -91,6 +91,7 @@ def create_isolate_failure_tasks(task_definition, failures, level):
new_task_definition = copy.deepcopy(task_definition)
th_dict = new_task_definition['extra']['treeherder']
th_dict['groupSymbol'] = th_dict['groupSymbol'] + '-I'
th_dict['tier'] = 3
logger.info('Cloning original task')
create_task_from_def(new_task_id, new_task_definition, level)
@ -103,6 +104,7 @@ def create_isolate_failure_tasks(task_definition, failures, level):
th_dict = new_task_definition['extra']['treeherder']
th_dict['groupSymbol'] = th_dict['groupSymbol'] + '-I'
th_dict['symbol'] = th_dict['symbol'] + failure_group_suffix
th_dict['tier'] = 3
suite = new_task_definition['extra']['suite']
if '-chunked' in suite:
suite = suite[:suite.index('-chunked')]