[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v2 8/9] tests/avocado/machine_aarch64_sbsaref.py: allow for rw us
From: |
Cleber Rosa |
Subject: |
[PATCH v2 8/9] tests/avocado/machine_aarch64_sbsaref.py: allow for rw usage of image |
Date: |
Tue, 6 Aug 2024 13:31:18 -0400 |
When the OpenBSD based tests are run in parallel, the previously
single instance of the image would become corrupt. Let's give each
test its own snapshot.
Signed-off-by: Cleber Rosa <crosa@redhat.com>
---
tests/avocado/machine_aarch64_sbsaref.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/avocado/machine_aarch64_sbsaref.py
b/tests/avocado/machine_aarch64_sbsaref.py
index 756f316ac9..f8bf40c192 100644
--- a/tests/avocado/machine_aarch64_sbsaref.py
+++ b/tests/avocado/machine_aarch64_sbsaref.py
@@ -190,7 +190,7 @@ def boot_openbsd73(self, cpu):
"-cpu",
cpu,
"-drive",
- f"file={img_path},format=raw",
+ f"file={img_path},format=raw,snapshot=on",
)
self.vm.launch()
--
2.45.2
- Re: [PATCH v2 2/9] tests/avocado: apply proper skipUnless decorator, (continued)
- [PATCH v2 3/9] tests/avocado: add cdrom permission related tests, Cleber Rosa, 2024/08/06
- [PATCH v2 4/9] tests/avocado: machine aarch64: standardize location and RO access, Cleber Rosa, 2024/08/06
- [PATCH v2 5/9] tests/avocado: simplify parameters on fetch_asset with name only, Cleber Rosa, 2024/08/06
- [PATCH v2 7/9] tests/avocado/tuxrun_baselines.py: use Avocado's zstd support, Cleber Rosa, 2024/08/06
- [PATCH v2 6/9] tests/avocado/boot_xen.py: fetch kernel during test setUp(), Cleber Rosa, 2024/08/06
- [PATCH v2 8/9] tests/avocado/machine_aarch64_sbsaref.py: allow for rw usage of image,
Cleber Rosa <=
- [PATCH v2 9/9] Avocado tests: allow for parallel execution of tests, Cleber Rosa, 2024/08/06
Re: [PATCH v2 0/9] Bump Avocado to 103.0 LTS and update tests for compatibility and new features, Marcin Juszkiewicz, 2024/08/06