This is an automated email from the ASF dual-hosted git repository.

lidavidm pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/arrow-adbc.git


The following commit(s) were added to refs/heads/main by this push:
     new 7420b8f20 ci: use an actual query for AlloyDB's health check (#4770)
7420b8f20 is described below

commit 7420b8f208ba620ced4aea9fbfdb2e93de7ab8d5
Author: David Li <[email protected]>
AuthorDate: Tue Sep 15 07:51:02 2026 +0900

    ci: use an actual query for AlloyDB's health check (#4770)
---
 compose.yaml | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/compose.yaml b/compose.yaml
index dcfd78f59..2d02cb5a8 100644
--- a/compose.yaml
+++ b/compose.yaml
@@ -470,7 +470,8 @@ services:
       POSTGRES_PASSWORD: password
       POSTGRES_DB: postgres
     healthcheck:
-      test: ["CMD-SHELL", "pg_isready -U postgres -d postgres"]
+      # Run an actual query as alloydb appears to run into "the database 
system is starting up"
+      test: ["CMD-SHELL", "PGPASSWORD=\"$$POSTGRES_PASSWORD\" psql -h 
127.0.0.1 -p 5432 -U postgres -d postgres -w -v ON_ERROR_STOP=1 -c 'SELECT 1' > 
/dev/null"]
       interval: 10s
       timeout: 5s
       retries: 10

Reply via email to