Mercurial > hg
comparison tests/test-clonebundles.t @ 42964: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 | da3861ef7959 |
children | 877805928f85 |
comparison
equal
deleted
inserted
replaced
42963:8502f76dbfd7 | 42964:be0d54cce8f4 |
---|---|
51 Manifest file with invalid URL aborts | 51 Manifest file with invalid URL aborts |
52 | 52 |
53 $ echo 'http://does.not.exist/bundle.hg' > server/.hg/clonebundles.manifest | 53 $ echo 'http://does.not.exist/bundle.hg' > server/.hg/clonebundles.manifest |
54 $ hg clone http://localhost:$HGPORT 404-url | 54 $ hg clone http://localhost:$HGPORT 404-url |
55 applying clone bundle from http://does.not.exist/bundle.hg | 55 applying clone bundle from http://does.not.exist/bundle.hg |
56 error fetching bundle: (.* not known|(\[Errno -?\d+])? [Nn]o address associated with (host)?name) (re) (no-windows !) | 56 error fetching bundle: (.* not known|(\[Errno -?\d+] )?([Nn]o address associated with (host)?name|Temporary failure in name resolution)) (re) (no-windows !) |
57 error fetching bundle: [Errno 1100*] getaddrinfo failed (glob) (windows !) | 57 error fetching bundle: [Errno 1100*] getaddrinfo failed (glob) (windows !) |
58 abort: error applying bundle | 58 abort: error applying bundle |
59 (if this error persists, consider contacting the server operator or disable clone bundles via "--config ui.clonebundles=false") | 59 (if this error persists, consider contacting the server operator or disable clone bundles via "--config ui.clonebundles=false") |
60 [255] | 60 [255] |
61 | 61 |