aboutsummaryrefslogtreecommitdiffstats
path: root/python/wpt/run.py
diff options
context:
space:
mode:
authorsagudev <16504129+sagudev@users.noreply.github.com>2023-06-08 06:35:13 +0200
committersagudev <16504129+sagudev@users.noreply.github.com>2023-06-09 06:14:36 +0200
commitb2bdf837162cfbfe11b79e2ddd65ff3cc79f63e1 (patch)
tree8f35c3c335108305edfdb478bf621befe8d013bd /python/wpt/run.py
parentcb0c0bf3ce2816526c8009cd70a2f09e64042a72 (diff)
downloadservo-b2bdf837162cfbfe11b79e2ddd65ff3cc79f63e1.tar.gz
servo-b2bdf837162cfbfe11b79e2ddd65ff3cc79f63e1.zip
Set `id_hash` as default wpt chunker
Diffstat (limited to 'python/wpt/run.py')
-rw-r--r--python/wpt/run.py3
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"))