From 5eede6633bd9f6d80b71f96d45b9ea5cff4020cd Mon Sep 17 00:00:00 2001 From: Adil Hafeez Date: Thu, 22 May 2025 22:30:47 -0700 Subject: [PATCH] add logs --- demos/shared/test_runner/run_demo_tests.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/demos/shared/test_runner/run_demo_tests.sh b/demos/shared/test_runner/run_demo_tests.sh index 94b26e6d..bcf4c608 100644 --- a/demos/shared/test_runner/run_demo_tests.sh +++ b/demos/shared/test_runner/run_demo_tests.sh @@ -17,6 +17,12 @@ do docker compose up -d 2>&1 > /dev/null echo "starting hurl tests" hurl --test hurl_tests/*.hurl + if [ $? -ne 0 ]; then + echo "Hurl tests failed for $demo" + echo "docker logs for archgw:" + docker logs archgw + exit 1 + fi echo "stopping docker containers and archgw" archgw down docker compose down -v