From b2bdf837162cfbfe11b79e2ddd65ff3cc79f63e1 Mon Sep 17 00:00:00 2001 From: sagudev <16504129+sagudev@users.noreply.github.com> Date: Thu, 8 Jun 2023 06:35:13 +0200 Subject: [PATCH] Set `id_hash` as default wpt chunker --- python/wpt/run.py | 3 +++ 1 file changed, 3 insertions(+) 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"))