From abc425158ac4dbc6c1ff467a5729458278526499 Mon Sep 17 00:00:00 2001 From: Lili Deng Date: Thu, 30 Nov 2023 12:27:54 +0800 Subject: [PATCH] check_till_timeout: throw LisaTimeoutException exception --- lisa/util/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisa/util/__init__.py b/lisa/util/__init__.py index 6a88897213..276cbf7920 100644 --- a/lisa/util/__init__.py +++ b/lisa/util/__init__.py @@ -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(