From: Alex Bennée Date: Thu, 11 Aug 2022 15:14:11 +0000 (+0100) Subject: tests/avocado: add timeout to the aspeed tests X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=b1ceae2f5bc477217dd292bffa7b4abb34d78a2b;p=qemu.git 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 Reviewed-by: Philippe Mathieu-Daudé Message-Id: <20220811151413.3350684-7-alex.bennee@linaro.org> --- 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',