Skip to content

Commit 3291e30

Browse files
committed
wait more time then
1 parent 01de752 commit 3291e30

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

.github/workflows/main.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,12 @@ jobs:
4242
run: |
4343
sudo pg_conftool $PGVERSION main set shared_preload_libraries pgtt
4444
sudo service postgresql restart
45-
pg_isready
45+
# Poll until pg_isready returns successfully
46+
until pg_isready -h localhost -p 5432 -U postgres; do
47+
echo "Waiting for PostgreSQL to restart..."
48+
sleep 1
49+
done
50+
echo "PostgreSQL is ready!"
4651
make installcheck
4752
4853
- name: show regression diffs

0 commit comments

Comments
 (0)