Skip to content

Commit

Permalink
ci: fix workflow
Browse files Browse the repository at this point in the history
openmldb cluster may pending on bootstrap, wait 1min
  • Loading branch information
aceforeverd committed Mar 25, 2024
1 parent 63e12d2 commit e543da0
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,12 @@ jobs:
run: |
docker compose -f docker-compose.yml up -d
- name: verbose services
# ensure all services is up
run: |
sleep 60
docker compose --file docker-compose.yml ps -a
- name: init test database
run: |
docker compose -f docker-compose.yml exec openmldb-ns1 /opt/openmldb/bin/openmldb --zk_cluster=openmldb-zk:2181 --zk_root_path=/openmldb --role=sql_client --cmd 'CREATE DATABASE test_db'
Expand Down

0 comments on commit e543da0

Please sign in to comment.