Bug 1657649 - [ci] Remove the SETA shadow-scheduler, r=jmaher

Differential Revision: https://phabricator.services.mozilla.com/D86250
This commit is contained in:
Andrew Halberstadt 2020-08-06 20:27:26 +00:00
parent a7a6a52ca2
commit 8733547d93
3 changed files with 4 additions and 21 deletions

View File

@ -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

View File

@ -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.

View File

@ -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"])