[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v5 03/44] tests/avocado/machine_aarch64_sbsaref.py: allow for rw
|
From: |
Thomas Huth |
|
Subject: |
[PATCH v5 03/44] tests/avocado/machine_aarch64_sbsaref.py: allow for rw usage of image |
|
Date: |
Fri, 30 Aug 2024 15:37:57 +0200 |
From: Cleber Rosa <crosa@redhat.com>
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>
Suggested-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Tested-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>
Message-ID: <20240806173119.582857-9-crosa@redhat.com>
Signed-off-by: Thomas Huth <thuth@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.46.0
- [PATCH v5 00/44] Convert avocado tests to normal Python unittests, Thomas Huth, 2024/08/30
- [PATCH v5 01/44] tests/avocado: machine aarch64: standardize location and RO access, Thomas Huth, 2024/08/30
- [PATCH v5 02/44] tests/avocado/boot_xen.py: fetch kernel during test setUp(), Thomas Huth, 2024/08/30
- [PATCH v5 03/44] tests/avocado/machine_aarch64_sbsaref.py: allow for rw usage of image,
Thomas Huth <=
- [PATCH v5 04/44] Bump avocado to 103.0, Thomas Huth, 2024/08/30
- [PATCH v5 05/44] tests/avocado/avocado_qemu: Fix the "from" statements in linuxtest.py, Thomas Huth, 2024/08/30
- [PATCH v5 07/44] python: Install pycotap in our venv if necessary, Thomas Huth, 2024/08/30
- [PATCH v5 06/44] tests/avocado/boot_linux_console: Remove the s390x subtest, Thomas Huth, 2024/08/30
- [PATCH v5 08/44] tests/functional: Add base classes for the upcoming pytest-based tests, Thomas Huth, 2024/08/30
- [PATCH v5 09/44] tests/functional: Set up logging, Thomas Huth, 2024/08/30
- [PATCH v5 10/44] tests/Makefile.include: Increase the level of indentation in the help text, Thomas Huth, 2024/08/30
- [PATCH v5 11/44] tests/functional: Prepare the meson build system for the functional tests, Thomas Huth, 2024/08/30
- [PATCH v5 12/44] tests/functional: Convert simple avocado tests into standalone python tests, Thomas Huth, 2024/08/30
- [PATCH v5 14/44] tests/functional: add a module for handling asset download & caching, Thomas Huth, 2024/08/30