Bug 1772074 - [gecko_taskgraph] Ensure 'ensure_spi_disabled_on_all_but_spi' transform properly handles composite variants r=taskgraph-reviewers,jcristau

Depends on D147872

Differential Revision: https://phabricator.services.mozilla.com/D147873
This commit is contained in:
Andrew Halberstadt 2022-06-01 17:52:11 +00:00
Родитель 7a203b0bcc
Коммит 4cf4b3cc55
2 изменённых файлов: 1 добавлений и 3 удалений

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

@ -283,7 +283,6 @@ def assert_spi_disabled(task):
pytest.param(
{"attributes": {"unittest_variant": "fission+socketprocess"}},
assert_spi_not_disabled,
marks=pytest.mark.xfail,
id="composite variant",
),
),

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

@ -734,8 +734,7 @@ def ensure_spi_disabled_on_all_but_spi(config, tasks):
if (
all(s not in task["suite"] for s in has_no_setpref)
and variant != "socketprocess"
and variant != "socketprocess_networking"
and "socketprocess" not in variant
):
task["mozharness"]["extra-options"].append(
"--setpref=media.peerconnection.mtransport_process=false"