This is an automated email from the ASF dual-hosted git repository.

sbp pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tooling-trusted-releases.git


The following commit(s) were added to refs/heads/main by this push:
     new 26d2fa4  Check that the e2e container is running before starting the 
tests
26d2fa4 is described below

commit 26d2fa4f91525ee2fc27a6a1d1c5321302eaf809
Author: Sean B. Palmer <[email protected]>
AuthorDate: Thu Jan 15 19:17:37 2026 +0000

    Check that the e2e container is running before starting the tests
---
 tests/run-e2e.sh | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/tests/run-e2e.sh b/tests/run-e2e.sh
index 545fd49..cd0904f 100755
--- a/tests/run-e2e.sh
+++ b/tests/run-e2e.sh
@@ -9,6 +9,14 @@ if ! docker compose ps atr-dev --status running -q 2>/dev/null 
| grep -q .
 then
   echo "Starting ATR dev container..."
   docker compose up atr-dev -d --build --wait
+
+  if ! docker compose ps atr-dev --status running -q 2>/dev/null | grep -q .
+  then
+    echo "ERROR: the atr-dev container failed to start or crashed during 
startup"
+    echo "Container logs:"
+    docker compose logs atr-dev --tail 50
+    exit 1
+  fi
 fi
 
 docker compose build e2e-dev


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to