|
From: | Thomas Huth |
Subject: | Re: [PATCH v1 02/25] tests/avocado: reduce the default timeout to 120s |
Date: | Fri, 26 Aug 2022 21:44:48 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.12.0 |
On 26/08/2022 19.21, Alex Bennée wrote:
We should be aiming to keep our tests under 2 minutes so lets reduce the default timeout to that. Tests that we know take longer should explicitly set a longer timeout. Signed-off-by: Alex Bennée <alex.bennee@linaro.org> --- tests/avocado/avocado_qemu/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/avocado/avocado_qemu/__init__.py b/tests/avocado/avocado_qemu/__init__.py index 9d17a287cf..0efd2bd212 100644 --- a/tests/avocado/avocado_qemu/__init__.py +++ b/tests/avocado/avocado_qemu/__init__.py @@ -229,7 +229,7 @@ def exec_command_and_wait_for_pattern(test, command, class QemuBaseTest(avocado.Test):# default timeout for all tests, can be overridden- timeout = 900 + timeout = 120
Did you try this on gitlab already? I guess it will fail in some cases, e.g.: https://gitlab.com/qemu-project/qemu/-/jobs/2928561388 there are some tests that run definitely longer, e.g.: (005/192) tests/avocado/boot_linux.py:BootLinuxAarch64.test_virt_tcg_gicv2: PASS (342.26 s) (006/192) tests/avocado/boot_linux.py:BootLinuxAarch64.test_virt_tcg_gicv3: PASS (330.37 s) and I can't spot a "timeout = ..." in that file. Thomas
[Prev in Thread] | Current Thread | [Next in Thread] |