From 146bb14a464eb8525311d0fcbf18e00ee7a2db7e Mon Sep 17 00:00:00 2001 From: Jason Fulghum Date: Wed, 7 Jun 2023 13:31:15 -0700 Subject: [PATCH] Changing from 'mysql' to 'dolt sql-client' since the GH MacOS runners don't have the mysql client installed by default --- integration-tests/bats/helper/query-server-common.bash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/integration-tests/bats/helper/query-server-common.bash b/integration-tests/bats/helper/query-server-common.bash index 820b0dc051..ce90270272 100644 --- a/integration-tests/bats/helper/query-server-common.bash +++ b/integration-tests/bats/helper/query-server-common.bash @@ -17,7 +17,7 @@ wait_for_connection() { # exit code, so we need to temporarily enable 'set +e', but be sure to turn 'set -e' back on before we exit. set +e while [ $SECONDS -lt $end_time ]; do - mysql -u $user -h localhost --port $port --protocol TCP --connect-timeout 1 -e "SELECT 1;" + dolt sql-client -u $user --host localhost --port $port --timeout 1 -q "SELECT 1;" if [ $? -eq 0 ]; then echo "Connected successfully!" set -e