From 02db3f1be44b5649a2267a5fa84e7daa491b0dfb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Rydg=C3=A5rd?= Date: Sat, 31 Oct 2026 07:17:43 +0100 Subject: [PATCH] test.py: Skip pair/vanish in P2P mode for now It times the socket failures from when the peer drops off the peer list, which the ad hoc server updates in wall time, so on macOS CI at 600% the failure lands under a second after it instead of 1-2s. The relay run still covers it. Co-Authored-By: Claude Opus 5.5 --- test.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/test.py b/test.py index cb26685ef4..14db77c5f9 100755 --- a/test.py +++ b/test.py @@ -627,7 +627,12 @@ pair_known_failures = { # listener, so it times out instead. "net/adhoc/pair/basic", ], - "p2p": [], + "p2p": [ + # Times the send and recv failures from when the peer drops off the peer list. In P2P the socket + # error comes from the host's TCP, while the peer list comes from the ad hoc server in wall time, + # so at CI's speeds the failure can land within the first second (macOS CI) instead of 1-2s. + "net/adhoc/pair/vanish", + ], } if platform.system() == "Windows": # Windows retries a refused TCP connect for about a second before reporting it, which at the tests'