Skip to content

Commit

Permalink
Update integ-tests.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
rapphil authored Jul 17, 2024
1 parent 4405a11 commit 361aa09
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions .github/scripts/integ-tests.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
#!/bin/sh

# Fail if any of the steps fail
set -e

IMAGE=$1
CONTAINER_NAME="integ-test-$(date +%s)"

Expand All @@ -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"
Expand Down

0 comments on commit 361aa09

Please sign in to comment.