Skip to content

Commit

Permalink
Problem: tests are sometimes failing (bigchaindb#408)
Browse files Browse the repository at this point in the history
Solution: add health check to ensure HTTP API server is running
  • Loading branch information
codegeschrei authored and muawiakh committed Apr 23, 2018
1 parent eab1eef commit bf46069
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .ci/travis-before-script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@
set -e -x

if [[ "${TOXENV}" == "py35" || "${TOXENV}" == "py36" ]]; then
docker-compose up -d bigchaindb
docker-compose up -d bdb
fi
5 changes: 5 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,11 @@ services:
- "46656"
- "46657"
command: bash -c "tendermint init && tendermint node"
bdb:
image: busybox
depends_on:
bigchaindb:
condition: service_healthy
# Build docs only
# docker-compose build bdocs
# docker-compose up -d bdocs
Expand Down

0 comments on commit bf46069

Please sign in to comment.