Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion core/docker/container-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ function cleanup {
}

function test_trino_starts {
local QUERY_PERIOD=5
local QUERY_PERIOD=10
local QUERY_RETRIES=30

CONTAINER_ID=
Expand All @@ -21,6 +21,8 @@ function test_trino_starts {
do
if [[ $((I++)) -ge ${QUERY_RETRIES} ]]; then
echo "🚨 Too many retries waiting for Trino to start"
echo "Logs from ${CONTAINER_ID} follow..."
docker logs "${CONTAINER_ID}"
break
fi
sleep ${QUERY_PERIOD}
Expand Down