mirror of
https://github.com/jcreek/CosmicClash.git
synced 2026-09-16 18:32:03 +00:00
test(multiplayer): expose database gate failures
This commit is contained in:
@@ -63,6 +63,10 @@ for attempt in $(seq 1 30); do
|
|||||||
fi
|
fi
|
||||||
if [ "$attempt" = 30 ]; then
|
if [ "$attempt" = 30 ]; then
|
||||||
echo "PostgreSQL did not become ready" >&2
|
echo "PostgreSQL did not become ready" >&2
|
||||||
|
echo "PostgreSQL container status:" >&2
|
||||||
|
docker inspect --format '{{.State.Status}} (exit={{.State.ExitCode}})' "$container_name" >&2 || true
|
||||||
|
echo "PostgreSQL container logs:" >&2
|
||||||
|
docker logs "$container_name" >&2 || true
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
sleep 1
|
sleep 1
|
||||||
|
|||||||
Reference in New Issue
Block a user