Bug 1959786 - Ignore chunking in test_fuzzy.py r=taskgraph-reviewers,jmaher

Differential Revision: https://phabricator.services.mozilla.com/D245130
This commit is contained in:
Steve Fink
2025-04-11 03:51:19 +00:00
parent 578ee1379e
commit c979178674

View File

@@ -160,7 +160,12 @@ def test_query_tags(run_mach, capfd, tag):
index = output.find(delim)
result = json.loads(output[index + len(delim) :])
tasks = result["parameters"]["try_task_config"]["tasks"]
assert sorted(tasks) == sorted(expected)
# If enough test files change, the test-verify task may get chunked.
def canonical(tasks):
return sorted(t.rstrip("-*") for t in tasks)
assert canonical(tasks) == canonical(expected)
@pytest.mark.skipif(os.name == "nt", reason="fzf not installed on host")