[wptrunner] Disable WebTransport H3 server for `wpt run` tests (#41673)
Speculatively works around a failing cleanup in `aioquic` due to a
transport not implementing `asyncio.BaseTransport.is_closing`.
The WebTransport over HTTP/3 server isn't needed for these tests anyway.
diff --git a/tools/wpt/tests/test_wpt.py b/tools/wpt/tests/test_wpt.py
index d123fae..c977b9a 100644
--- a/tools/wpt/tests/test_wpt.py
+++ b/tools/wpt/tests/test_wpt.py
@@ -111,6 +111,8 @@
with pytest.raises(SystemExit) as excinfo:
wpt.main(argv=["run", "--metadata", manifest_dir, "--list-tests",
"--channel", "dev", "--yes",
+ # WebTransport server is not needed (web-platform-tests/wpt#41675).
+ "--no-enable-webtransport-h3",
# Taskcluster machines do not have GPUs, so use software rendering via --enable-swiftshader.
"--enable-swiftshader",
"chrome", "/dom/nodes/Element-tagName.html"])
@@ -135,6 +137,8 @@
"--metadata", manifest_dir,
"--list-tests",
"--yes",
+ # WebTransport server is not needed (web-platform-tests/wpt#41675).
+ "--no-enable-webtransport-h3",
"firefox", "/dom/nodes/Element-tagName.html"])
assert excinfo.value.code == 0
@@ -163,6 +167,8 @@
"--metadata", manifest_dir,
"--list-tests",
"--yes",
+ # WebTransport server is not needed (web-platform-tests/wpt#41675).
+ "--no-enable-webtransport-h3",
"firefox", "/dom/nodes/Element-tagName.html"])
assert excinfo.value.code == 0
@@ -180,6 +186,8 @@
with pytest.raises(SystemExit) as excinfo:
wpt.main(argv=["run", "--yes", "--no-pause", "--channel", "dev",
+ # WebTransport server is not needed (web-platform-tests/wpt#41675).
+ "--no-enable-webtransport-h3",
# Taskcluster machines do not have GPUs, so use software rendering via --enable-swiftshader.
"--enable-swiftshader",
"chrome", "/non-existent-dir/non-existent-file.html"])
@@ -188,6 +196,8 @@
with pytest.raises(SystemExit) as excinfo:
wpt.main(argv=["run", "--yes", "--no-pause", "--no-fail-on-unexpected",
"--channel", "dev",
+ # WebTransport server is not needed (web-platform-tests/wpt#41675).
+ "--no-enable-webtransport-h3",
# Taskcluster machines do not have GPUs, so use software rendering via --enable-swiftshader.
"--enable-swiftshader",
"chrome", "/non-existent-dir/non-existent-file.html"])
@@ -209,6 +219,8 @@
with pytest.raises(SystemExit) as excinfo:
wpt.main(argv=["run", "--yes", "--no-pause", "--channel", "dev",
+ # WebTransport server is not needed (web-platform-tests/wpt#41675).
+ "--no-enable-webtransport-h3",
# Taskcluster machines do not have GPUs, so use software rendering via --enable-swiftshader.
"--enable-swiftshader",
"chrome", failing_test])
@@ -217,6 +229,8 @@
with pytest.raises(SystemExit) as excinfo:
wpt.main(argv=["run", "--yes", "--no-pause", "--no-fail-on-unexpected",
"--channel", "dev",
+ # WebTransport server is not needed (web-platform-tests/wpt#41675).
+ "--no-enable-webtransport-h3",
# Taskcluster machines do not have GPUs, so use software rendering via --enable-swiftshader.
"--enable-swiftshader",
"chrome", failing_test])
@@ -244,6 +258,8 @@
with pytest.raises(SystemExit) as excinfo:
wpt.main(argv=["run", "--yes", "--verify", "--channel", "dev",
+ # WebTransport server is not needed (web-platform-tests/wpt#41675).
+ "--no-enable-webtransport-h3",
# Taskcluster machines do not have GPUs, so use software rendering via --enable-swiftshader.
"--enable-swiftshader",
"chrome", unstable_test])
@@ -253,6 +269,8 @@
with pytest.raises(SystemExit) as excinfo:
wpt.main(argv=["run", "--yes", "--verify", "--channel", "dev",
+ # WebTransport server is not needed (web-platform-tests/wpt#41675).
+ "--no-enable-webtransport-h3",
# Taskcluster machines do not have GPUs, so use software rendering via --enable-swiftshader.
"--enable-swiftshader",
"chrome", stable_test])