Skip to content

Commit

Permalink
tests/avocado: add timeout to the aspeed tests
Browse files Browse the repository at this point in the history
On some systems the test can hang. At least defining a timeout stops
it from hanging forever.

Signed-off-by: Alex Bennée <[email protected]>
Reviewed-by: Philippe Mathieu-Daudé <[email protected]>
Message-Id: <[email protected]>
  • Loading branch information
stsquad committed Aug 16, 2022
1 parent 52f0c16 commit b1ceae2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/avocado/machine_aspeed.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ def test_ast1030_zephyros(self):

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',
Expand Down

0 comments on commit b1ceae2

Please sign in to comment.