Mercurial > hg
comparison tests/test-lfs-serve-access.t @ 51942:73a43fe3e6fd
tests: use pattern matching to mask `ECONNREFUSED` messages
The second and third one of these in `test-http-proxy.t` was failing on Windows.
The others were found by grep and by failed tests when output was matched and an
attempt was made to emit the mask pattern.
The first clonebundles failure on Windows emitted:
error fetching bundle: [WinError 10061] $ECONNREFUSED$
We should probably stringify that better to get rid of the "[WinError 10061]"
part.
author | Matt Harbison <matt_harbison@yahoo.com> |
---|---|
date | Tue, 01 Oct 2024 21:34:44 -0400 |
parents | 7e5be4a7cda7 |
children |
comparison
equal
deleted
inserted
replaced
51941:e58f02e2f6a9 | 51942:73a43fe3e6fd |
---|---|
81 abort: LFS HTTP error: HTTP Error 404: Not Found | 81 abort: LFS HTTP error: HTTP Error 404: Not Found |
82 (the "lfs.url" config may be used to override http://localhost:$HGPORT/missing) | 82 (the "lfs.url" config may be used to override http://localhost:$HGPORT/missing) |
83 [50] | 83 [50] |
84 | 84 |
85 $ hg -R httpclone update default --config lfs.url=http://localhost:$HGPORT2/missing | 85 $ hg -R httpclone update default --config lfs.url=http://localhost:$HGPORT2/missing |
86 abort: LFS error: *onnection *refused* (glob) (?) | 86 abort: LFS error: $ECONNREFUSED$ (?) |
87 abort: LFS error: $EADDRNOTAVAIL$ (glob) (?) | 87 abort: LFS error: $EADDRNOTAVAIL$ (glob) (?) |
88 abort: LFS error: No route to host (?) | 88 abort: LFS error: No route to host (?) |
89 (the "lfs.url" config may be used to override http://localhost:$HGPORT2/missing) | 89 (the "lfs.url" config may be used to override http://localhost:$HGPORT2/missing) |
90 [50] | 90 [50] |
91 | 91 |