diff options
author | bors-servo <infra@servo.org> | 2023-06-09 09:02:35 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-09 09:02:35 +0200 |
commit | fc512cef42a8b5d0046cb467baac0c8bc8856af5 (patch) | |
tree | 8f35c3c335108305edfdb478bf621befe8d013bd /python | |
parent | cb0c0bf3ce2816526c8009cd70a2f09e64042a72 (diff) | |
parent | b2bdf837162cfbfe11b79e2ddd65ff3cc79f63e1 (diff) | |
download | servo-fc512cef42a8b5d0046cb467baac0c8bc8856af5.tar.gz servo-fc512cef42a8b5d0046cb467baac0c8bc8856af5.zip |
Auto merge of #29855 - sagudev:cts-chunkability, r=mrobinson
Set `id_hash` as default wpt chunker
This PR sets [new `id_hash` chunker](https://github.com/web-platform-tests/wpt/pull/40020) as default chunker when running wpt tests via mach.
Fixes #29844, and as a bonus flattens wpt test times for chunks (for layout-2013: [10 min, 30 min] -> [20 min, 25 min])
Test run available [here](https://github.com/sagudev/servo/actions/runs/5207427141).
Diffstat (limited to 'python')
-rw-r--r-- | python/wpt/run.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/python/wpt/run.py b/python/wpt/run.py index e3fd3681790..021331064e0 100644 --- a/python/wpt/run.py +++ b/python/wpt/run.py @@ -73,6 +73,9 @@ def run_tests(**kwargs): set_if_none( kwargs, "host_cert_path", os.path.join(CERTS_PATH, "web-platform.test.pem") ) + # Set `id_hash` as the default chunk, as this better distributes testing across different + # chunks and leads to more consistent timing on GitHub Actions. + set_if_none(kwargs, "chunk_type", "id_hash") kwargs["user_stylesheets"].append(os.path.join(SERVO_ROOT, "resources", "ahem.css")) |