changeset 42966:be0d54cce8f4

tests: recognize DNS timeouts as well Differential Revision: https://phab.mercurial-scm.org/D6870
author Joerg Sonnenberger <joerg@bec.de>
date Wed, 18 Sep 2019 06:04:59 +0200
parents 8502f76dbfd7
children 5dfb57af1148
files tests/test-clonebundles.t
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/tests/test-clonebundles.t	Tue Sep 17 14:01:26 2019 -0700
+++ b/tests/test-clonebundles.t	Wed Sep 18 06:04:59 2019 +0200
@@ -53,7 +53,7 @@
   $ 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|(\[Errno -?\d+])? [Nn]o address associated with (host)?name) (re) (no-windows !)
+  error fetching bundle: (.* not known|(\[Errno -?\d+] )?([Nn]o address associated with (host)?name|Temporary failure in name resolution)) (re) (no-windows !)
   error fetching bundle: [Errno 1100*] getaddrinfo failed (glob) (windows !)
   abort: error applying bundle
   (if this error persists, consider contacting the server operator or disable clone bundles via "--config ui.clonebundles=false")