mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-08 02:14:43 +00:00
Bug 1657649 - [ci] Remove the SETA shadow-scheduler, r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D86250
This commit is contained in:
parent
a7a6a52ca2
commit
8733547d93
@ -154,14 +154,3 @@ bugbug_reduced_high:
|
||||
worker:
|
||||
env:
|
||||
TASKGRAPH_OPTIMIZE_STRATEGIES: taskgraph.optimize:experimental.bugbug_reduced_high
|
||||
|
||||
seta:
|
||||
description: Runs the SETA optimization strategy instead of the default.
|
||||
treeherder:
|
||||
symbol: SS(seta)
|
||||
index:
|
||||
product: source
|
||||
job-name: shadow-scheduler-seta
|
||||
worker:
|
||||
env:
|
||||
TASKGRAPH_OPTIMIZE_STRATEGIES: taskgraph.optimize:experimental.seta
|
||||
|
@ -568,12 +568,6 @@ class experimental(object):
|
||||
}
|
||||
"""Runs task containing tests in the same directories as modified files."""
|
||||
|
||||
seta = {
|
||||
'test': Any('skip-unless-schedules', 'seta'),
|
||||
}
|
||||
"""Provides a stable history of SETA's performance in the event we make it
|
||||
non-default in the future. Only useful as a benchmark."""
|
||||
|
||||
|
||||
class ExperimentalOverride(object):
|
||||
"""Overrides dictionaries that are stored in a container with new values.
|
||||
|
@ -12,11 +12,11 @@ from tryselect.selectors.auto import AutoParser
|
||||
|
||||
def test_strategy_validation():
|
||||
parser = AutoParser()
|
||||
args = parser.parse_args(["--strategy", "seta"])
|
||||
assert args.strategy == "taskgraph.optimize:tryselect.seta"
|
||||
args = parser.parse_args(["--strategy", "relevant_tests"])
|
||||
assert args.strategy == "taskgraph.optimize:tryselect.relevant_tests"
|
||||
|
||||
args = parser.parse_args(["--strategy", "taskgraph.optimize:experimental.seta"])
|
||||
assert args.strategy == "taskgraph.optimize:experimental.seta"
|
||||
args = parser.parse_args(["--strategy", "taskgraph.optimize:experimental.relevant_tests"])
|
||||
assert args.strategy == "taskgraph.optimize:experimental.relevant_tests"
|
||||
|
||||
with pytest.raises(SystemExit):
|
||||
parser.parse_args(["--strategy", "taskgraph.optimize:tryselect"])
|
||||
|
Loading…
Reference in New Issue
Block a user