Wait for Apache to start up before testing it

This commit is contained in:
Salt 2021-03-25 00:54:40 -05:00
parent c1b575f5a9
commit ea31268ef5

View File

@ -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)