tests: recognize DNS timeouts as well
authorJoerg Sonnenberger <joerg@bec.de>
Wed, 18 Sep 2019 06:04:59 +0200
changeset 42964 be0d54cce8f4
parent 42963 8502f76dbfd7
child 42965 5dfb57af1148
tests: recognize DNS timeouts as well Differential Revision: https://phab.mercurial-scm.org/D6870
tests/test-clonebundles.t
--- 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")