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')
|
platform = task.task.get('extra').get('treeherder-platform')
|
||||||
try_name = task.label
|
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
|
# Run chrome and chromium on all platforms available
|
||||||
if '-chrome' in try_name:
|
if '-chrome' in try_name:
|
||||||
if 'android' in platform:
|
if 'android' in platform:
|
||||||
# Run only on shippable android builds
|
# Run only on shippable android builds
|
||||||
if 'shippable' in platform:
|
if 'shippable' in platform:
|
||||||
return True
|
if '-live' in try_name:
|
||||||
|
return _run_live_site()
|
||||||
else:
|
else:
|
||||||
return False
|
return False
|
||||||
else:
|
else:
|
||||||
@@ -608,9 +615,7 @@ def target_tasks_general_perf_testing(full_task_graph, parameters, graph_config)
|
|||||||
if '-live' in try_name:
|
if '-live' in try_name:
|
||||||
# We only want to select those which should run 3 times
|
# We only want to select those which should run 3 times
|
||||||
# a week here, other live site tests should be removed
|
# a week here, other live site tests should be removed
|
||||||
for test in LIVE_SITES:
|
return _run_live_site()
|
||||||
if try_name.endswith(test) or try_name.endswith(test + "-e10s"):
|
|
||||||
return True
|
|
||||||
return False
|
return False
|
||||||
|
|
||||||
# Run the following tests on android geckoview
|
# Run the following tests on android geckoview
|
||||||
|
|||||||
Reference in New Issue
Block a user