qemu/tests/functional/qemu_test
Nicholas Piggin a5e8299d1a tests/functional/asset: Fail assert fetch when retries are exceeded
Currently the fetch code does not fail gracefully when retry limit is
exceeded, it just falls through the loop with no file, which ends up
hitting other errors.

Add a check for non-existing file, which indicates the retry limit was
exceeded.

Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Message-ID: <20250312130002.945508-2-npiggin@gmail.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
2025-03-12 18:20:50 +01:00
..
__init__.py tests/functional: Introduce the dso_suffix() helper 2025-03-10 10:30:00 +00:00
archive.py tests/functional: replace 'run_cmd' with subprocess helpers 2024-12-17 19:39:53 +01:00
asset.py tests/functional/asset: Fail assert fetch when retries are exceeded 2025-03-12 18:20:50 +01:00
cmd.py tests/functional: remove now unused 'run_cmd' helper 2024-12-17 19:39:53 +01:00
config.py tests/functional: Introduce the dso_suffix() helper 2025-03-10 10:30:00 +00:00
decorators.py tests/functional: Add a decorator for skipping long running tests 2025-01-30 10:50:56 +01:00
linuxkernel.py tests/functional: Move the code for testing HTTP downloads to a common function 2025-03-07 07:50:19 +01:00
ports.py tests/functional: Extract the find_free_ports() function into a helper file 2025-01-02 08:58:08 +01:00
tesseract.py tests/functional: replace 'run_cmd' with subprocess helpers 2024-12-17 19:39:53 +01:00
testcase.py tests/functional: Allow running TCG plugins tests on non-Linux/BSD hosts 2025-03-10 10:30:00 +00:00
tuxruntest.py tests/functional: drop unused 'get_tag' method 2025-03-07 07:50:19 +01:00
uncompress.py tests/functional: stop output from zstd command when uncompressing 2025-03-07 07:50:19 +01:00
utils.py tests/functional: Add a helper function for retrieving the hostfwd port 2024-12-17 20:33:29 +01:00