ci: socket

Signed-off-by: Agnes Lin <agneslin.lin@ibm.com>
This commit is contained in:
Agnes Lin 2021-04-11 22:40:07 -04:00
parent 566965d882
commit b315c27e00
1 changed files with 2 additions and 1 deletions

View File

@ -51,9 +51,10 @@ jobs:
- name: Wait for MySQL
run: |
sudo systemctl start mysql
sudo apt-get install -y mysql-client
docker ps -a
while ! mysqladmin ping --host=127.0.0.1 --port 3000 --password=root --silent < ./test/schema.sql; do
while ! mysqladmin ping --host=127.0.0.1 --port 3000 -uroot --password=root --silent < ./test/schema.sql; do
sleep 1
done
docker container ls