mbox series

[v3,0/3] tests/functional/asset: improve partial-download handling

Message ID 20250312130002.945508-1-npiggin@gmail.com (mailing list archive)
Headers show
Series tests/functional/asset: improve partial-download handling | expand

Message

Nicholas Piggin March 12, 2025, 12:59 p.m. UTC
v2 discussion:

https://lore.kernel.org/qemu-devel/20250312122559.944533-1-npiggin@gmail.com/T/#m9e610343e190d6e65148eb6c9d2e8f4eb8b857b8

Changes since v2:
- Fixed junk in patch 3.
- Add R-B.

Test results for functional-system-debian and -fedora can be seen here:
https://gitlab.com/npiggin/qemu/-/jobs/9387494994
https://gitlab.com/npiggin/qemu/-/jobs/9387495000

Including the short download and retry exceeded failures and skipping
the subtests without failing the entire job.

Thanks,
Nick

Nicholas Piggin (3):
  tests/functional/asset: Fail assert fetch when retries are exceeded
  tests/functional/asset: Verify downloaded size
  tests/functional/asset: Add AssetError exception class

 tests/functional/qemu_test/asset.py | 58 ++++++++++++++++++++++-------
 1 file changed, 44 insertions(+), 14 deletions(-)