diff options
| author | Thomas Huth <thuth@redhat.com> | 2025-01-28 16:28:35 +0100 |
|---|---|---|
| committer | Thomas Huth <thuth@redhat.com> | 2025-01-30 10:50:56 +0100 |
| commit | 4ae633b012210452b68dc20238fe4edd41d2635b (patch) | |
| tree | af5de85610c9eafb93a8082b7e4bed00facd2038 /tests/functional/qemu_test/__init__.py | |
| parent | fc9fea48be250ad3e51ddaea9508a320896c094b (diff) | |
| download | focaccia-qemu-4ae633b012210452b68dc20238fe4edd41d2635b.tar.gz focaccia-qemu-4ae633b012210452b68dc20238fe4edd41d2635b.zip | |
tests/functional: Add a decorator for skipping long running tests
Some tests have a very long runtime and might run into timeout issues e.g. when QEMU has been compiled with --enable-debug. Add a decorator for marking them more easily. Rename the corresponding environment variable to be more in sync with the other QEMU_TEST_ALLOW_* switches that we already have, and add a paragraph about it in the documentation. Reviewed-by: Daniel P. Berrangé <berrange@redhat.com> Message-ID: <20250128152839.184599-2-thuth@redhat.com> Signed-off-by: Thomas Huth <thuth@redhat.com>
Diffstat (limited to 'tests/functional/qemu_test/__init__.py')
| -rw-r--r-- | tests/functional/qemu_test/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/functional/qemu_test/__init__.py b/tests/functional/qemu_test/__init__.py index da1830286d..5c972843a6 100644 --- a/tests/functional/qemu_test/__init__.py +++ b/tests/functional/qemu_test/__init__.py @@ -14,7 +14,7 @@ from .cmd import is_readable_executable_file, \ from .testcase import QemuBaseTest, QemuUserTest, QemuSystemTest from .linuxkernel import LinuxKernelTest from .decorators import skipIfMissingCommands, skipIfNotMachine, \ - skipFlakyTest, skipUntrustedTest, skipBigDataTest, \ + skipFlakyTest, skipUntrustedTest, skipBigDataTest, skipSlowTest, \ skipIfMissingImports from .archive import archive_extract from .uncompress import uncompress |