From ea31268ef5d847bcb1af42608c6ab7f520e1307a Mon Sep 17 00:00:00 2001 From: Salt Date: Thu, 25 Mar 2021 00:54:40 -0500 Subject: [PATCH] Wait for Apache to start up before testing it --- .gitlab-ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 42f61de..24d2632 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -44,6 +44,7 @@ Test_HTTP_200: - docker run -d -p 8889:80 $CI_HUB_USERNAME/$CI_PROJECT_NAME:$CI_COMMIT_SHORT_SHA - docker ps - netstat -tulpn + - sleep 10 - curl localhost:8889 | grep -ie '200 OK' - docker kill $(docker ps -q)