From b3fabe96dea8c63c831662b6bb5c18abccd4aff7 Mon Sep 17 00:00:00 2001 From: e <6410762+e-mit@users.noreply.github.com> Date: Wed, 26 Jun 2024 23:05:40 +0100 Subject: [PATCH] Wait longer before testing container --- .github/workflows/release-test.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release-test.yml b/.github/workflows/release-test.yml index 890be64..ef8a717 100644 --- a/.github/workflows/release-test.yml +++ b/.github/workflows/release-test.yml @@ -21,7 +21,8 @@ jobs: - name: Release test run: | docker run -d -p 8080:8080 --name django_app --rm django_app:latest - sleep 4 + sleep 10 + page=$(curl http://127.0.0.1:8080) page=$(curl http://127.0.0.1:8080) if ! grep -q "FastAPI-AWS-Django-GCP" <<< "$page"; then echo "Page GET failed." && exit 1; fi - name: Save result