fix exception for container failing to start not being raised
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
This commit is contained in:
@ -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."""
|
||||
|
Reference in New Issue
Block a user