Merge pull request #3 from matisku/update-tests

Updating tests.
This commit is contained in:
Mateusz Trojak
2017-11-28 11:48:05 +01:00
committed by GitHub
2 changed files with 2 additions and 5 deletions
+1 -2
View File
@@ -6,9 +6,8 @@ services:
before_install:
- docker-compose -f docker-compose-circleci.yml up -d
- sleep 15
- sleep 30
- docker-compose logs
script:
- wget http://localhost:3001 -O grafana.html
- wget http://localhost:8083 -O influxdb.html
+1 -3
View File
@@ -12,13 +12,11 @@ test:
pre:
- docker-compose -f docker-compose-circleci.yml up -d
- docker ps
- docker-compose logs; sleep 3
- docker-compose logs; sleep 30
override:
- curl --retry 10 --retry-delay 5 -v http://localhost:3001
- curl --retry 10 --retry-delay 5 -v http://localhost:8083
- curl --retry 10 --retry-delay 5 -v http://localhost:8086
post:
- wget http://localhost:3001 -O grafana.html
- wget http://localhost:8083 -O influxdb.html
- mv *.html $CIRCLE_ARTIFACTS
- sudo killall --wait docker