diff --git a/taskcluster/gecko_taskgraph/transforms/test/worker.py b/taskcluster/gecko_taskgraph/transforms/test/worker.py index 51b12de51d39..314cfad0d4ef 100644 --- a/taskcluster/gecko_taskgraph/transforms/test/worker.py +++ b/taskcluster/gecko_taskgraph/transforms/test/worker.py @@ -142,8 +142,10 @@ def set_worker_type(config, tasks): if task[ "virtualization" ] == "virtual-with-gpu" and test_platform.startswith("windows1"): - # add in `--requires-gpu` to the mozharness options - task["mozharness"]["extra-options"].append("--requires-gpu") + # some unittests can run on hardware, no need for --requires-gpu + if not test_platform.startswith("windows11-64-2009-hw-ref"): + # add in `--requires-gpu` to the mozharness options + task["mozharness"]["extra-options"].append("--requires-gpu") # now we have the right platform set the worker type accordingly task["worker-type"] = win_worker_type_platform[task["virtualization"]]