Improve docker-related query test failure avoidance

This commit is contained in:
2025-06-18 17:39:16 -04:00
parent def6bab7f4
commit ea397ef889
2 changed files with 18 additions and 17 deletions

View File

@@ -41,14 +41,6 @@ do
# Specify the version we're testing against
export PGTAG="${images["$version"]}"
# Start the db container first and wait a moment for it to initialize
# This isn't perfect, but if the health check catches PostgreSQL when it's
# first being initialized, the agent can fail to connect.
# A better solution would probably be to make the agent retry more.
docker compose up -d db
sleep 2
# Start the containers
docker compose up --exit-code-from=agent agent
rc=$?