From 95fb7049bc65dd9cd514a4574cf036f463e6ef54 Mon Sep 17 00:00:00 2001 From: Sylwia Szunejko <52855732+sylwiaszunejko@users.noreply.github.com> Date: Tue, 4 Jun 2024 08:30:10 +0200 Subject: [PATCH] Revert "Print out logs of failed container" 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. --- integration.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/integration.sh b/integration.sh index e15ef4ce3..6598599d1 100755 --- a/integration.sh +++ b/integration.sh @@ -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() {