Skip to content

Commit

Permalink
Merge pull request #188 from dkropachev/fix-integration-sh
Browse files Browse the repository at this point in the history
Print out logs of failed container
  • Loading branch information
sylwiaszunejko authored Jun 4, 2024
2 parents 4b1e57a + d4c4951 commit b7ff129
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion integration.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ function scylla_up() {

echo "==> Running Scylla ${SCYLLA_IMAGE}"
docker pull ${SCYLLA_IMAGE}
docker compose up -d --wait
docker compose up -d --wait || docker compose ps --format json | jq -M 'select(.Health == "unhealthy") | .Service' | xargs docker compose logs && exit 1
}

function scylla_down() {
Expand Down

0 comments on commit b7ff129

Please sign in to comment.