[PATCH] tests: handle getaddrinfo reporting "No address associated with hostname"

Augie Fackler raf at durin42.com
Mon Mar 14 17:18:00 EDT 2016


> On Mar 12, 2016, at 20:37, Mads Kiilerich <mads at kiilerich.com> wrote:
> 
> # HG changeset patch
> # User Mads Kiilerich <madski at unity3d.com>
> # Date 1457832963 -3600
> #      Sun Mar 13 02:36:03 2016 +0100
> # Branch stable
> # Node ID ac566629ceb42445cbb8fd455ad3f0aff8540245
> # Parent  48e1a641765d541a4bdc3f36b69cb3f5974040af
> tests: handle getaddrinfo reporting "No address associated with hostname"

Queued this, thanks

> 
> This has been seen on some Fedora 23 systems.
> 
> diff --git a/tests/test-clonebundles.t b/tests/test-clonebundles.t
> --- a/tests/test-clonebundles.t
> +++ b/tests/test-clonebundles.t
> @@ -52,7 +52,7 @@ Manifest file with invalid URL aborts
>   $ echo 'http://does.not.exist/bundle.hg' > server/.hg/clonebundles.manifest
>   $ hg clone http://localhost:$HGPORT 404-url
>   applying clone bundle from http://does.not.exist/bundle.hg
> -  error fetching bundle: (.* not known|getaddrinfo failed) (re)
> +  error fetching bundle: (.* not known|getaddrinfo failed|No address associated with hostname) (re)
>   abort: error applying bundle
>   (if this error persists, consider contacting the server operator or disable clone bundles via "--config ui.clonebundles=false")
>   [255]
> _______________________________________________
> Mercurial-devel mailing list
> Mercurial-devel at mercurial-scm.org
> https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel



More information about the Mercurial-devel mailing list