Skip to content

Commit

Permalink
runcontainers also wait for ES
Browse files Browse the repository at this point in the history
  • Loading branch information
felipejfc committed Nov 1, 2016
1 parent ac14d40 commit 4bf8165
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ build:

run-containers:
@cd test_containers && docker-compose up -d && cd ..
@/bin/bash -c "until docker exec testcontainers_elasticsearch_1 curl localhost:9200; do echo 'Waiting for Elasticsearch...' && sleep 1; done"

kill-containers:
@cd test_containers && docker-compose stop && cd ..
Expand Down

0 comments on commit 4bf8165

Please sign in to comment.