# HG changeset patch # User Matt Harbison # Date 1728518973 14400 # Node ID 989967d2f99487bb93a3dcc8b0ed4ac06933c6f9 # Parent 028bac79cf345c84cc19e56b4b8914678eb92def tests: stabilize `test-http-bad-server.t` on macOS I'm not sure what's going on here, because I got one test run where this worked, but two where it gave this error instead. It's connection related as the comment says it should be, so good enough. diff -r 028bac79cf34 -r 989967d2f994 tests/test-http-bad-server.t --- a/tests/test-http-bad-server.t Wed Oct 09 13:55:04 2024 -0400 +++ b/tests/test-http-bad-server.t Wed Oct 09 20:09:33 2024 -0400 @@ -42,7 +42,7 @@ $ cat hg.pid > $DAEMON_PIDS $ hg clone http://localhost:$HGPORT/ clone - abort: error: (\$ECONNRESET\$|\$EADDRNOTAVAIL\$) (re) + abort: error: (\$ECONNRESET\$|\$EADDRNOTAVAIL\$|\$ECONNREFUSED\$) (re) [100] (The server exits on its own, but there is a race between that and starting a new server.