Skip to content

Commit

Permalink
Revert "Print out logs of failed container"
Browse files Browse the repository at this point in the history
This change not only prints out the logs if container is
unhealthy but also exits and manage to not run the tests when
there is nothing wrong with the containers.
  • Loading branch information
sylwiaszunejko committed Jun 4, 2024
1 parent b7ff129 commit 95fb704
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 ps --format json | jq -M 'select(.Health == "unhealthy") | .Service' | xargs docker compose logs && exit 1
docker compose up -d --wait
}

function scylla_down() {
Expand Down

0 comments on commit 95fb704

Please sign in to comment.