Skip to content
This repository has been archived by the owner on Jul 19, 2021. It is now read-only.

Commit

Permalink
Add error message in wait_until function
Browse files Browse the repository at this point in the history
  • Loading branch information
hnformentin committed Oct 26, 2020
1 parent 9b72ec5 commit 76853b8
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion python/tests/utils/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,4 +81,8 @@ def wait_until(func, interval=0.5, timeout=30):
return
except AssertionError:
if t >= timeout:
raise
raise AssertionError(
"Error in wait_until, function {%s}, timeout {%d}".format(
func.__name__, timeout
)
)

0 comments on commit 76853b8

Please sign in to comment.