From 22ff28365fa6b610d54fb6a3f0ff295a4f613472 Mon Sep 17 00:00:00 2001 From: Pontus Freyhult Date: Fri, 19 Jan 2024 15:38:45 +0100 Subject: [PATCH] Signal on failed test --- .github/integration/tests/common/50_check_endpoint.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/integration/tests/common/50_check_endpoint.sh b/.github/integration/tests/common/50_check_endpoint.sh index 3f21f83..feb7fc2 100755 --- a/.github/integration/tests/common/50_check_endpoint.sh +++ b/.github/integration/tests/common/50_check_endpoint.sh @@ -88,6 +88,7 @@ if [[ $status = 0 ]]; then echo "Files are the same" else echo "Files are different" + exit 1 fi curl --cacert certs/ca.pem -H "Authorization: Bearer $token" "https://localhost:8443/files/urn:neic:001-002?startCoordinate=0&endCoordinate=2" --output test-part.txt