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>
(cherry picked from commit 9c7b3dd091)
This commit is contained in:
Heinrich Schuchardt
2024-11-23 22:29:21 +01:00
committed by Simon Glass
parent b214dfeaad
commit 40ce599a8a

Diff Content Not Available