From a11f1258e11526a05a57cfbb14a43057cce804af Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Thu, 16 Jan 2025 00:45:45 +0100 Subject: [PATCH] fix exception for container failing to start not being raised Signed-off-by: Jens Langhammer --- tests/e2e/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/e2e/utils.py b/tests/e2e/utils.py index dda9c374a5..5e8199febc 100644 --- a/tests/e2e/utils.py +++ b/tests/e2e/utils.py @@ -95,7 +95,7 @@ class DockerTestCase(TestCase): sleep(1) attempt += 1 if attempt >= self.max_healthcheck_attempts: - self.failureException("Container failed to start") + raise self.failureException("Container failed to start") def get_container_image(self, base: str) -> str: """Try to pull docker image based on git branch, fallback to main if not found."""