Mercurial > hg
diff tests/test-http-proxy.t @ 40881:8695fbe17f7c
tests: update network related errors for Debian 9
We have a CI job that runs the Mercurial tests in parallel. Some of the
network related failures seems to be different on the environment. Oddly,
those failures happens only when running the tests in parallel, not when
running the test file only.
I have no idea how to get the windows formatted message for the error, if
someone could give me an hand, I will update this changeset with the value.
Differential Revision: https://phab.mercurial-scm.org/D5401
author | Boris Feld <boris.feld@octobus.net> |
---|---|
date | Mon, 10 Dec 2018 10:21:08 +0100 |
parents | 4bd6e444c76f |
children | 97484e1d1834 |
line wrap: on
line diff
--- a/tests/test-http-proxy.t Sun Nov 04 16:57:05 2018 +0900 +++ b/tests/test-http-proxy.t Mon Dec 10 10:21:08 2018 +0100 @@ -90,7 +90,8 @@ misconfigured hosts) $ http_proxy=localhost:$HGPORT2 hg clone --config http_proxy.always=True http://localhost:$HGPORT/ f - abort: error: (Connection refused|Protocol not supported|.* actively refused it|Cannot assign requested address) (re) + abort: error: (Connection refused|Protocol not supported|.* actively refused it) (re) (?) + abort: error: $EADDRNOTAVAIL$ (?) [255] do not use the proxy if it is in the no list