test: add command to 'Lab failure' timeout message
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Sat, 23 Nov 2024 21:29:21 +0000 (22:29 +0100)
committerTom Rini <trini@konsulko.com>
Fri, 29 Nov 2024 20:41:47 +0000 (14:41 -0600)
commit9c7b3dd091a20ca081cc9e46c92d5c36dbd8d7a8
tree95f2d46827721099e6d0854a9edc2f30788ae98d
parent86d462c05d57f0bb4df582453d0d0b2d7cabc6ff
test: add command to 'Lab failure' timeout message

When a timeout occurs while executing a command a 'Lab failure' message is
written and testing is stopped. The user is left in the dark about the
failure cause.

    ! _pytest.outcomes.Exit: Lab failure: Marking connection bad - no other tests will run !

Add the word 'Timeout' and the executed command to the message.

Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
test/py/u_boot_console_base.py