Bug 1317189 - Fix --rebuild-talos for TC try jobs by checking the correct attribute. r=wcosta

MozReview-Commit-ID: K3WwZS9rVdj

--HG--
extra : rebase_source : b7589432cf14eb728f94c442e1e50f3a464ff591
This commit is contained in:
Chris Manchester 2017-05-09 14:04:10 -07:00
Родитель bd9dc581ea
Коммит e1d83a850f
1 изменённых файлов: 1 добавлений и 1 удалений

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

@ -77,7 +77,7 @@ def target_tasks_try_option_syntax(full_task_graph, parameters):
task.attributes['profile'] = False
# If the developer wants test talos jobs to be rebuilt N times we add that value here
if options.talos_trigger_tests > 1 and 'talos_suite' in task.attributes:
if options.talos_trigger_tests > 1 and task.attributes.get('unittest_suite') == 'talos':
task.attributes['task_duplicates'] = options.talos_trigger_tests
task.attributes['profile'] = options.profile