diff --git a/tests/01-image.test.sh b/tests/01-image.test.sh index 7e63e1e5..3741a2fa 100755 --- a/tests/01-image.test.sh +++ b/tests/01-image.test.sh @@ -89,15 +89,15 @@ function run_test { export COMPOSE_PROFILES=database export KONG_DATABASE=postgres pushd compose - curl -fsSL https://raw.githubusercontent.com/Kong/docker-kong/1.5.0/swarm/docker compose.yml | KONG_DOCKER_TAG=kong:1.5.0 docker compose -p kong -f - up -d + curl -fsSL https://raw.githubusercontent.com/Kong/docker-kong/1.5.0/swarm/docker-compose.yml | KONG_DOCKER_TAG=kong:1.5.0 docker compose -p kong -f - up -d until docker ps -f health=healthy | grep -q kong:1.5.0; do - curl -fsSL https://raw.githubusercontent.com/Kong/docker-kong/1.5.0/swarm/docker compose.yml | docker compose -p kong -f - ps + curl -fsSL https://raw.githubusercontent.com/Kong/docker-kong/1.5.0/swarm/docker-compose.yml | docker compose -p kong -f - ps docker ps sleep 15 - curl -fsSL https://raw.githubusercontent.com/Kong/docker-kong/1.5.0/swarm/docker compose.yml | KONG_DOCKER_TAG=kong:1.5.0 docker compose -p kong -f - up -d + curl -fsSL https://raw.githubusercontent.com/Kong/docker-kong/1.5.0/swarm/docker-compose.yml | KONG_DOCKER_TAG=kong:1.5.0 docker compose -p kong -f - up -d done curl -I localhost:8001 | grep 'Server: openresty' - sed -i -e 's/127.0.0.1://g' docker compose.yml + sed -i -e 's/127.0.0.1://g' docker-compose.yml KONG_DOCKER_TAG=${KONG_DOCKER_TAG} docker compose -p kong up -d until docker ps -f health=healthy | grep -q ${KONG_DOCKER_TAG}; do @@ -120,7 +120,7 @@ function run_test { sleep 5 docker volume prune -f docker system prune -y - git checkout -- docker compose.yml + git checkout -- docker-compose.yml popd # Run Kong functional tests