diff --git a/tests/bootstrap/test_localstack_container_server.py b/tests/bootstrap/test_localstack_container_server.py index 8330279bf8e53..c71630e4fa787 100644 --- a/tests/bootstrap/test_localstack_container_server.py +++ b/tests/bootstrap/test_localstack_container_server.py @@ -19,6 +19,10 @@ def test_lifecycle(self): response = requests.get("http://localhost:4566/_localstack/health") assert response.ok, "expected health check to return OK: %s" % response.text + except Exception: + # get the container logs so we actually know what went wrong + print(server.container.get_logs()) + raise finally: server.shutdown()