[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 08/13] testa/avocado: test_arm_emcraft_sf2: handle RW require
From: |
Daniel P . Berrangé |
Subject: |
Re: [PATCH 08/13] testa/avocado: test_arm_emcraft_sf2: handle RW requirements for asset |
Date: |
Mon, 29 Jul 2024 11:59:26 +0100 |
User-agent: |
Mutt/2.2.12 (2023-09-09) |
On Fri, Jul 26, 2024 at 09:44:33AM -0400, Cleber Rosa wrote:
> The asset used in the mentioned test gets truncated before it's used
> in the test. This means that the file gets modified, and thus the
> asset's expected hash doesn't match anymore. This causes cache misses
> and re-downloads every time the test is re-run.
>
> Let's make a copy of the asset so that the one in the cache is
> preserved and the cache sees a hit on re-runs.
>
> Signed-off-by: Cleber Rosa <crosa@redhat.com>
> ---
> tests/avocado/boot_linux_console.py | 6 ++++--
> 1 file changed, 4 insertions(+), 2 deletions(-)
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
With regards,
Daniel
--
|: https://berrange.com -o- https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org -o- https://fstop138.berrange.com :|
|: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|
- Re: [PATCH 05/13] tests/avocado: machine aarch64: standardize location and RO access, (continued)
- [PATCH 06/13] tests/avocado: use more distinct names for assets, Cleber Rosa, 2024/07/26
- [PATCH 09/13] tests/avocado/boot_xen.py: fetch kernel during test setUp(), Cleber Rosa, 2024/07/26
- [PATCH 11/13] tests/avocado/machine_aarch64_sbsaref.py: allow for rw usage of image, Cleber Rosa, 2024/07/26
- [PATCH 08/13] testa/avocado: test_arm_emcraft_sf2: handle RW requirements for asset, Cleber Rosa, 2024/07/26
- Re: [PATCH 08/13] testa/avocado: test_arm_emcraft_sf2: handle RW requirements for asset,
Daniel P . Berrangé <=
- [PATCH 13/13] Avocado tests: allow for parallel execution of tests, Cleber Rosa, 2024/07/26
- [PATCH 12/13] Bump avocado to 103.0, Cleber Rosa, 2024/07/26
- [PATCH 07/13] tests/avocado/kvm_xen_guest.py: cope with asset RW requirements, Cleber Rosa, 2024/07/26
- [PATCH 10/13] tests/avocado/tuxrun_baselines.py: use Avocado's zstd support, Cleber Rosa, 2024/07/26