From eea7750416ac1a04ec9b09f2cc95e6b5b78167b0 Mon Sep 17 00:00:00 2001 From: Marco Castelluccio Date: Wed, 5 Aug 2020 14:27:31 +0000 Subject: [PATCH] Bug 1657192 - Add a 'tests_grouped' tag to tasks for suites that are chunked in the taskgraph. r=ahal DONTBUILD Differential Revision: https://phabricator.services.mozilla.com/D85908 --- taskcluster/taskgraph/transforms/tests.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/taskcluster/taskgraph/transforms/tests.py b/taskcluster/taskgraph/transforms/tests.py index 972aa4d970f2..db5ac7aa41c4 100644 --- a/taskcluster/taskgraph/transforms/tests.py +++ b/taskcluster/taskgraph/transforms/tests.py @@ -1449,6 +1449,10 @@ def set_test_manifests(config, tasks): yield task continue + # Set 'tests_grouped' to "1", so we can differentiate between suites that are + # chunked at the test runtime and those that are chunked in the taskgraph. + task.setdefault("tags", {})["tests_grouped"] = "1" + if taskgraph.fast: # We want to avoid evaluating manifests when taskgraph.fast is set. But # manifests are required for dynamic chunking. Just set the number of