diff options
| author | Alex Bennée <alex.bennee@linaro.org> | 2022-08-11 16:14:11 +0100 |
|---|---|---|
| committer | Alex Bennée <alex.bennee@linaro.org> | 2022-08-16 09:57:12 +0100 |
| commit | b1ceae2f5bc477217dd292bffa7b4abb34d78a2b (patch) | |
| tree | ffb3ad4b0f327c6ffc7c90b652bfe8838e750185 /tests | |
| parent | 52f0c1607671293afcdb2acc2f83e9bccbfa74bb (diff) | |
| download | focaccia-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.py | 2 |
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', |