diff --git a/tests/integrationtest.sh b/tests/integrationtest.sh index 71a2db0..344941b 100755 --- a/tests/integrationtest.sh +++ b/tests/integrationtest.sh @@ -1,7 +1,7 @@ #!/bin/sh set -eux docker version -docker-compose version +docker compose version echo "Downloading test project" mkdir -p downloads diff --git a/tests/test-generic.sh b/tests/test-generic.sh index e7f85ac..63d3ef6 100755 --- a/tests/test-generic.sh +++ b/tests/test-generic.sh @@ -6,7 +6,7 @@ COMPOSEFILE=$1 TIMEOUT=180s echo "test.sh [TEST STARTED] starting docker-compose $COMPOSEFILE" -docker-compose -f $COMPOSEFILE up & +docker compose -f $COMPOSEFILE up & timeout $TIMEOUT bash -c 'until curl -s http://localhost:8080 | grep "