D5877: tests: fix regression tests failing on CentOS 7
Phabricator
phabricator at mercurial-scm.org
Thu Feb 7 15:02:29 EST 2019
This revision was automatically updated to reflect the committed changes.
Closed by commit rHGf2f538725d07: tests: fix regression tests failing on CentOS 7 (authored by Mathias De Mare <mathias.de_mare at nokia.com>, committed by ).
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D5877?vs=13886&id=13901
REVISION DETAIL
https://phab.mercurial-scm.org/D5877
AFFECTED FILES
tests/test-clonebundles.t
tests/test-http-proxy.t
tests/test-lfs-serve-access.t
CHANGE DETAILS
diff --git a/tests/test-lfs-serve-access.t b/tests/test-lfs-serve-access.t
--- a/tests/test-lfs-serve-access.t
+++ b/tests/test-lfs-serve-access.t
@@ -84,6 +84,7 @@
$ hg -R httpclone update default --config lfs.url=http://localhost:$HGPORT2/missing
abort: LFS error: *onnection *refused*! (glob) (?)
abort: LFS error: $EADDRNOTAVAIL$! (glob) (?)
+ abort: LFS error: No route to host! (?)
(the "lfs.url" config may be used to override http://localhost:$HGPORT2/missing)
[255]
diff --git a/tests/test-http-proxy.t b/tests/test-http-proxy.t
--- a/tests/test-http-proxy.t
+++ b/tests/test-http-proxy.t
@@ -90,7 +90,7 @@
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|\$EADDRNOTAVAIL\$) (re)
+ abort: error: (Connection refused|Protocol not supported|.* actively refused it|\$EADDRNOTAVAIL\$|No route to host) (re)
[255]
do not use the proxy if it is in the no list
diff --git a/tests/test-clonebundles.t b/tests/test-clonebundles.t
--- a/tests/test-clonebundles.t
+++ b/tests/test-clonebundles.t
@@ -64,7 +64,7 @@
$ echo "http://localhost:$HGPORT1/bundle.hg" > server/.hg/clonebundles.manifest
$ hg clone http://localhost:$HGPORT server-not-runner
applying clone bundle from http://localhost:$HGPORT1/bundle.hg
- error fetching bundle: (.* refused.*|Protocol not supported|(.* )?\$EADDRNOTAVAIL\$) (re)
+ error fetching bundle: (.* refused.*|Protocol not supported|(.* )?\$EADDRNOTAVAIL\$|.* No route to host) (re)
abort: error applying bundle
(if this error persists, consider contacting the server operator or disable clone bundles via "--config ui.clonebundles=false")
[255]
To: Mathiasdm, #hg-reviewers
Cc: mercurial-devel
More information about the Mercurial-devel
mailing list