Skip to content

Commit 2916618

Browse files
committed
wip10
1 parent 0e93185 commit 2916618

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/docker-build.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ jobs:
128128
129129
# Wait for DB to be ready
130130
echo "Waiting for database to be ready..."
131-
timeout 60s bash -c 'until docker exec cws-db mysqladmin -uroot -ptest ping -h localhost; do sleep 2; done'
131+
timeout 60s bash -c 'until docker exec cws-db mysql -u root -ptest -e "SELECT 1;" >/dev/null 2>&1; do sleep 2; echo "Still waiting for database..."; done'
132132
133133
# Wait for ElasticSearch to be ready
134134
echo "Waiting for Elasticsearch to be ready..."

0 commit comments

Comments
 (0)