[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] tests/avocado: Disable the test_sbsaref_edk2_firmware in the git
From: |
Thomas Huth |
Subject: |
[PATCH] tests/avocado: Disable the test_sbsaref_edk2_firmware in the gitlab-CI |
Date: |
Mon, 10 Jul 2023 16:43:48 +0200 |
The test fails occasionally, see e.g.:
https://gitlab.com/thuth/qemu/-/jobs/4196177756#L489
https://gitlab.com/thuth/qemu/-/jobs/4623296271#L290
Disable it at least in the gitlab-CI to avoid failing CI
pipelines due to this problem.
Signed-off-by: Thomas Huth <thuth@redhat.com>
---
tests/avocado/machine_aarch64_sbsaref.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/tests/avocado/machine_aarch64_sbsaref.py
b/tests/avocado/machine_aarch64_sbsaref.py
index cce6ef9f65..dbd364b537 100644
--- a/tests/avocado/machine_aarch64_sbsaref.py
+++ b/tests/avocado/machine_aarch64_sbsaref.py
@@ -8,8 +8,7 @@
import os
-from avocado import skip
-from avocado import skipUnless
+from avocado import skipIf
from avocado.utils import archive
from avocado_qemu import QemuSystemTest
@@ -76,6 +75,7 @@ def fetch_firmware(self):
"sbsa-ref",
)
+ @skipIf(os.getenv('GITLAB_CI'), 'Test does not work reliably')
def test_sbsaref_edk2_firmware(self):
"""
:avocado: tags=cpu:cortex-a57
--
2.39.3
- [PATCH] tests/avocado: Disable the test_sbsaref_edk2_firmware in the gitlab-CI,
Thomas Huth <=