Bug 1535016 - Don't treat any Android job as new job r=jmaher

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

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Ionut Goldan 2019-03-18 10:32:12 +00:00
Родитель 598c65b47f
Коммит c6c5c7bd09
1 изменённых файлов: 7 добавлений и 0 удалений

Просмотреть файл

@ -90,6 +90,13 @@ class SETA(object):
if type(task_list.values()[0]) == list and len(task_list.values()[0]) > 0:
high_value_tasks = task_list.values()[0]
# hack seta to treat all Android Raptor tasks as low value - see Bug 1535016
def only_android_raptor(task):
return task.startswith('test-android') and 'raptor' in task
high_value_android_tasks = list(filter(only_android_raptor, high_value_tasks))
low_value_tasks.extend(high_value_android_tasks)
opt = ['test-windows10-64/opt',
'test-windows7-32/opt',
'test-linux64/opt',