diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 49c5dfb66..d2ad39e9f 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -49,7 +49,7 @@ jobs: run: hatch run types:check - name: Run tests - run: hatch test --python ${{ matrix.python-version }} --cover-quiet --randomize --parallel --retries 5 --retry-delay 3 + run: hatch test --python ${{ matrix.python-version }} --cover-quiet --randomize --parallel --retries 5 --retry-delay 3 - name: Disambiguate coverage filename run: mv .coverage ".coverage.${{ matrix.os }}.${{ matrix.python-version }}" diff --git a/tests/index/server/devpi/entrypoint.sh b/tests/index/server/devpi/entrypoint.sh index f3b2c8e7c..7decc5d39 100644 --- a/tests/index/server/devpi/entrypoint.sh +++ b/tests/index/server/devpi/entrypoint.sh @@ -10,7 +10,7 @@ echo "==:> Starting server" devpi-server --host 0.0.0.0 --port 3141 & echo "==:> Waiting on server" -timeout 10 ash -c 'while ! echo exit | nc localhost 3141; do sleep 1; done' +sleep 5 echo "==:> Setting up index" devpi use http://localhost:3141 diff --git a/tests/index/server/docker-compose.yaml b/tests/index/server/docker-compose.yaml index ddac3ca60..a8faaaf92 100644 --- a/tests/index/server/docker-compose.yaml +++ b/tests/index/server/docker-compose.yaml @@ -1,5 +1,3 @@ -version: '3' - services: devpi: container_name: hatch-devpi