Skip to content

Commit

Permalink
Add comment on timeout exception
Browse files Browse the repository at this point in the history
  • Loading branch information
sandeepmistry committed Jan 17, 2024
1 parent c55d64f commit 5828129
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions scripts/tests/avh/helpers/avh_instance.py
Original file line number Diff line number Diff line change
Expand Up @@ -209,6 +209,8 @@ def wait_for_console_output(self, expected_output, timeout_s=10.0):
try:
output += self.console.recv()
except websocket.WebSocketTimeoutException:
# ignore timeout exceptions as the AVH instance might not produce console output
# while processing commands, the timeout will be managed by the while loop
pass

if expected_output in output:
Expand Down

0 comments on commit 5828129

Please sign in to comment.