diff options
| author | Daniel P. Berrangé <berrange@redhat.com> | 2024-12-17 15:59:29 +0000 |
|---|---|---|
| committer | Thomas Huth <thuth@redhat.com> | 2024-12-17 19:39:53 +0100 |
| commit | 3d5938607e05c4f8ac6df046a92fad19b681c23b (patch) | |
| tree | c161ecbdd2ca7805e69bf760965eececa415c0f7 /tests/functional/test_arm_cubieboard.py | |
| parent | 3ea06d65be5ee65beabc479d92e964e3c9df5080 (diff) | |
| download | focaccia-qemu-3d5938607e05c4f8ac6df046a92fad19b681c23b.tar.gz focaccia-qemu-3d5938607e05c4f8ac6df046a92fad19b681c23b.zip | |
tests/functional: switch to new test skip decorators
This ensures consistency of behaviour across all the tests, and requires that we provide gitlab bug links when marking a test to be skipped due to unreliability. Reviewed-by: Thomas Huth <thuth@redhat.com> Signed-off-by: Daniel P. Berrangé <berrange@redhat.com> Message-ID: <20241217155953.3950506-9-berrange@redhat.com> Signed-off-by: Thomas Huth <thuth@redhat.com>
Diffstat (limited to 'tests/functional/test_arm_cubieboard.py')
| -rwxr-xr-x | tests/functional/test_arm_cubieboard.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/functional/test_arm_cubieboard.py b/tests/functional/test_arm_cubieboard.py index 9e42b72060..fdbd52a33c 100755 --- a/tests/functional/test_arm_cubieboard.py +++ b/tests/functional/test_arm_cubieboard.py @@ -8,8 +8,9 @@ import os from qemu_test import LinuxKernelTest, Asset, exec_command_and_wait_for_pattern from qemu_test import interrupt_interactive_console_until_pattern +from qemu_test import skipBigDataTest from qemu_test.utils import gzip_uncompress, image_pow2ceil_expand -from unittest import skipUnless + class CubieboardMachine(LinuxKernelTest): @@ -105,7 +106,7 @@ class CubieboardMachine(LinuxKernelTest): # Wait for VM to shut down gracefully self.vm.wait() - @skipUnless(os.getenv('AVOCADO_ALLOW_LARGE_STORAGE'), 'storage limited') + @skipBigDataTest() def test_arm_cubieboard_openwrt_22_03_2(self): # This test download a 7.5 MiB compressed image and expand it # to 126 MiB. |