From 30cbdf95f77df5293d36c46c523946d90ca799b3 Mon Sep 17 00:00:00 2001 From: Sandeep Mistry Date: Tue, 14 Nov 2023 13:06:28 -0500 Subject: [PATCH] Add comment on break --- scripts/tests/avh/helpers/avh_instance.py | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/tests/avh/helpers/avh_instance.py b/scripts/tests/avh/helpers/avh_instance.py index 1b8556d9e0a573..8ba62a87e6336a 100644 --- a/scripts/tests/avh/helpers/avh_instance.py +++ b/scripts/tests/avh/helpers/avh_instance.py @@ -171,6 +171,7 @@ def wait_for_state_deleted(self, timeout_s=60): try: self.avh_client.instance_state(self.instance_id) except avh_api.exceptions.NotFoundException: + # Not Found implies deleted break if (time.monotonic() - start_time) > timeout_s: