Skip to content

Commit

Permalink
check_till_timeout: throw LisaTimeoutException exception
Browse files Browse the repository at this point in the history
  • Loading branch information
LiliDeng committed Dec 2, 2023
1 parent 82b35a8 commit abc4251
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lisa/util/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -751,7 +751,7 @@ def check_till_timeout(
break
sleep(interval)
if timer.elapsed() >= timeout:
raise LisaException(f"timeout: {timeout_message}")
raise LisaTimeoutException(f"timeout: {timeout_message}")


def retry_without_exceptions(
Expand Down

0 comments on commit abc4251

Please sign in to comment.