Skip to content

Commit

Permalink
Replace sleep with curl-ing sleep
Browse files Browse the repository at this point in the history
  • Loading branch information
Mongey committed Sep 27, 2018
1 parent d622c48 commit 87d7222
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,12 @@ install:

script:
- docker run -d -e VAULT_DEV_ROOT_TOKEN_ID=TEST -p 8200:8200 --name vault vault:0.11.1
- sleep 10
- |
until $(curl --output /dev/null --silent --head --fail http://localhost:8200)
do
printf '.'
sleep 1
done
- make test
- VAULT_ADDR=http://localhost:8200 VAULT_TOKEN=TEST make testacc
- make vendor-status
Expand Down

0 comments on commit 87d7222

Please sign in to comment.