diff --git a/tests/test-clonebundles.t b/tests/test-clonebundles.t
index 8502f76dbfd75c76b8e570f88c71e5fe3a4b23bd_dGVzdHMvdGVzdC1jbG9uZWJ1bmRsZXMudA==..be0d54cce8f4eb0865984571a0eed4e40e6eb411_dGVzdHMvdGVzdC1jbG9uZWJ1bmRsZXMudA== 100644
--- a/tests/test-clonebundles.t
+++ b/tests/test-clonebundles.t
@@ -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")