summary refs log tree commit diff stats
path: root/tests
diff options
context:
space:
mode:
authorAlex Bennée <alex.bennee@linaro.org>2022-08-11 16:14:11 +0100
committerAlex Bennée <alex.bennee@linaro.org>2022-08-16 09:57:12 +0100
commitb1ceae2f5bc477217dd292bffa7b4abb34d78a2b (patch)
treeffb3ad4b0f327c6ffc7c90b652bfe8838e750185 /tests
parent52f0c1607671293afcdb2acc2f83e9bccbfa74bb (diff)
downloadfocaccia-qemu-b1ceae2f5bc477217dd292bffa7b4abb34d78a2b.tar.gz
focaccia-qemu-b1ceae2f5bc477217dd292bffa7b4abb34d78a2b.zip
tests/avocado: add timeout to the aspeed tests
On some systems the test can hang. At least defining a timeout stops
it from hanging forever.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20220811151413.3350684-7-alex.bennee@linaro.org>
Diffstat (limited to 'tests')
-rw-r--r--tests/avocado/machine_aspeed.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/avocado/machine_aspeed.py b/tests/avocado/machine_aspeed.py
index b4e35a3d07..c54da0fd8f 100644
--- a/tests/avocado/machine_aspeed.py
+++ b/tests/avocado/machine_aspeed.py
@@ -40,6 +40,8 @@ class AST1030Machine(QemuSystemTest):
 
 class AST2x00Machine(QemuSystemTest):
 
+    timeout = 90
+
     def wait_for_console_pattern(self, success_message, vm=None):
         wait_for_console_pattern(self, success_message,
                                  failure_message='Kernel panic - not syncing',