diff mbox series

[PULL,04/30] tests/avocado: add explicit timeout for s390 TCG tests

Message ID 20220920171533.1098094-5-alex.bennee@linaro.org (mailing list archive)
State New, archived
Headers show
Series [PULL,01/30] gitlab: reduce targets in cross_user_build_job | expand

Commit Message

Alex Bennée Sept. 20, 2022, 5:15 p.m. UTC
We don't want to rely on the soon to be reduced default time. These
tests are still slow for something we want to run in CI though.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Message-Id: <20220914155950.804707-5-alex.bennee@linaro.org>

Comments

Thomas Huth Sept. 26, 2022, 4:27 p.m. UTC | #1
On 20/09/2022 19.15, Alex Bennée wrote:
> We don't want to rely on the soon to be reduced default time. These
> tests are still slow for something we want to run in CI though.
> 
> Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
> Reviewed-by: Thomas Huth <thuth@redhat.com>
> Message-Id: <20220914155950.804707-5-alex.bennee@linaro.org>
> 
> diff --git a/tests/avocado/boot_linux.py b/tests/avocado/boot_linux.py
> index 67a24fe51c..4f07c27ac6 100644
> --- a/tests/avocado/boot_linux.py
> +++ b/tests/avocado/boot_linux.py
> @@ -130,6 +130,8 @@ class BootLinuxS390X(LinuxTest):
>       :avocado: tags=arch:s390x
>       """
>   
> +    timeout = 240
> +
>       @skipIf(os.getenv('GITLAB_CI'), 'Running on GitLab')
>       def test_s390_ccw_virtio_tcg(self):
>           """

I've configured my QEMU with --enable-debug and thus this test takes much 
more time here, ca. 550 seconds, so it's currently failing...
Should we maybe scale the timeout values if --enable-debug is enabled?

  Thomas
diff mbox series

Patch

diff --git a/tests/avocado/boot_linux.py b/tests/avocado/boot_linux.py
index 67a24fe51c..4f07c27ac6 100644
--- a/tests/avocado/boot_linux.py
+++ b/tests/avocado/boot_linux.py
@@ -130,6 +130,8 @@  class BootLinuxS390X(LinuxTest):
     :avocado: tags=arch:s390x
     """
 
+    timeout = 240
+
     @skipIf(os.getenv('GITLAB_CI'), 'Running on GitLab')
     def test_s390_ccw_virtio_tcg(self):
         """