Bug 1641555 - Disable some chrome live site tests. r=perftest-reviewers,Bebe
This patch prevents some extra live site tests from running on chrome. Differential Revision: https://phabricator.services.mozilla.com/D77255
This commit is contained in:
@@ -574,12 +574,19 @@ def target_tasks_general_perf_testing(full_task_graph, parameters, graph_config)
|
||||
platform = task.task.get('extra').get('treeherder-platform')
|
||||
try_name = task.label
|
||||
|
||||
def _run_live_site():
|
||||
for test in LIVE_SITES:
|
||||
if try_name.endswith(test) or try_name.endswith(test + "-e10s"):
|
||||
return True
|
||||
return False
|
||||
|
||||
# Run chrome and chromium on all platforms available
|
||||
if '-chrome' in try_name:
|
||||
if 'android' in platform:
|
||||
# Run only on shippable android builds
|
||||
if 'shippable' in platform:
|
||||
return True
|
||||
if '-live' in try_name:
|
||||
return _run_live_site()
|
||||
else:
|
||||
return False
|
||||
else:
|
||||
@@ -608,9 +615,7 @@ def target_tasks_general_perf_testing(full_task_graph, parameters, graph_config)
|
||||
if '-live' in try_name:
|
||||
# We only want to select those which should run 3 times
|
||||
# a week here, other live site tests should be removed
|
||||
for test in LIVE_SITES:
|
||||
if try_name.endswith(test) or try_name.endswith(test + "-e10s"):
|
||||
return True
|
||||
return _run_live_site()
|
||||
return False
|
||||
|
||||
# Run the following tests on android geckoview
|
||||
|
||||
Reference in New Issue
Block a user