Fix problems in unit tests where DB access was attempted before DB was ready #13

Merged
bustikiller merged 6 commits from fix/postgres-health-timeout into main 2024-07-30 22:48:30 +00:00
Showing only changes of commit 0d82ef3d40 - Show all commits

View File

@ -28,6 +28,7 @@ jobs:
- run: bundle install
- name: Wait until Postgres is ready to accept connections
run: |
apt-get update && apt-get install -f -y postgresql-client
until pg_isready -h postgres -U postgres -d postgres
do
sleep 1