From 361aa0916cf29817bef3e7a5a1689186d7ac5402 Mon Sep 17 00:00:00 2001 From: Raphael Philipe Mendes da Silva Date: Wed, 17 Jul 2024 14:51:29 -0700 Subject: [PATCH] Update integ-tests.sh --- .github/scripts/integ-tests.sh | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/.github/scripts/integ-tests.sh b/.github/scripts/integ-tests.sh index bec513d..cc9b42a 100755 --- a/.github/scripts/integ-tests.sh +++ b/.github/scripts/integ-tests.sh @@ -1,8 +1,5 @@ #!/bin/sh -# Fail if any of the steps fail -set -e - IMAGE=$1 CONTAINER_NAME="integ-test-$(date +%s)" @@ -17,8 +14,7 @@ docker run -dt -p 8080:8080 \ curl -s -H 'host: s3.amazonaws.com' http://localhost:8080 | grep ListAllMyBucketsResult result=$? -docker stop $CONTAINER_NAME -docker rm $CONTAINER_NAME +docker stop $CONTAINER_NAME && docker rm $CONTAINER_NAME if [ "$result" == "1" ]; then echo "Integration tests failed"