From ac37c5d58aca781f800023d60098f8e30f5347ed Mon Sep 17 00:00:00 2001 From: Kjell Winblad Date: Fri, 23 Sep 2022 15:02:01 +0200 Subject: [PATCH] test: github actions debug printouts --- .ci/docker-compose-file/kafka/run_add_scram_users.sh | 3 +++ scripts/ct/run.sh | 6 ++++++ 2 files changed, 9 insertions(+) diff --git a/.ci/docker-compose-file/kafka/run_add_scram_users.sh b/.ci/docker-compose-file/kafka/run_add_scram_users.sh index e997a310c..4b51fee0d 100755 --- a/.ci/docker-compose-file/kafka/run_add_scram_users.sh +++ b/.ci/docker-compose-file/kafka/run_add_scram_users.sh @@ -44,3 +44,6 @@ kafka-configs.sh --bootstrap-server localhost:9092 --alter --add-config 'SCRAM-S echo "+++++++ Wait until Kafka ports are down ++++++++" bash -c 'while printf "" 2>>/dev/null >>/dev/tcp/$0/$1; do sleep 1; done' $SERVER $PORT1 + +echo "+++++++ Kafka ports are down ++++++++" + diff --git a/scripts/ct/run.sh b/scripts/ct/run.sh index 45d32767c..99af6d098 100755 --- a/scripts/ct/run.sh +++ b/scripts/ct/run.sh @@ -145,6 +145,12 @@ if [ "$ONLY_UP" = 'yes' ]; then exit 0 fi +sleep 10 + +echo "DOCKER COMPOSE LOGS kafka_1" + +docker-compose $F_OPTIONS logs kafka_1 + if [ "$ATTACH" = 'yes' ]; then docker exec -it "$ERLANG_CONTAINER" bash elif [ "$CONSOLE" = 'yes' ]; then