tests/avocado: reduce the default timeout to 120s
authorAlex Bennée <alex.bennee@linaro.org>
Wed, 14 Sep 2022 15:59:27 +0000 (16:59 +0100)
committerAlex Bennée <alex.bennee@linaro.org>
Tue, 20 Sep 2022 15:27:04 +0000 (16:27 +0100)
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>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20220914155950.804707-8-alex.bennee@linaro.org>

tests/avocado/avocado_qemu/__init__.py

index 5f1d3e551cf26b6cf3482bbf2843b58e8a9dac0e..910f3ba1eab80ae89b1e30dee70f917cb9c6ed2b 100644 (file)
@@ -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
 
     def _get_unique_tag_val(self, tag_name):
         """