diff options
| author | Daniel P. Berrangé <berrange@redhat.com> | 2025-08-29 15:26:16 +0100 |
|---|---|---|
| committer | Thomas Huth <thuth@redhat.com> | 2025-09-09 09:57:51 +0200 |
| commit | 335da23abec85cd2f6d10f1fe36b28a02088e723 (patch) | |
| tree | 0e24671d63397a1009116d6dca721b62b2d16aa8 /tests/functional/qemu_test/decorators.py | |
| parent | 124ab930ba38c41a86533dbfabb7a3b3b270ef98 (diff) | |
| download | focaccia-qemu-335da23abec85cd2f6d10f1fe36b28a02088e723.tar.gz focaccia-qemu-335da23abec85cd2f6d10f1fe36b28a02088e723.zip | |
tests/functional: handle URLError when fetching assets
We treat most HTTP errors as non-fatal when fetching assets, but forgot to handle network level errors. This adds catching of URLError so that we retry on failure, and will ultimately trigger graceful skipping in the pre-cache task. Signed-off-by: Daniel P. Berrangé <berrange@redhat.com> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Reviewed-by: Thomas Huth <thuth@redhat.com> Message-ID: <20250829142616.2633254-4-berrange@redhat.com> Signed-off-by: Thomas Huth <thuth@redhat.com>
Diffstat (limited to 'tests/functional/qemu_test/decorators.py')
0 files changed, 0 insertions, 0 deletions