Fix MySQL tests
This commit is contained in:
parent
aa0239141e
commit
110995dfd9
|
@ -10,8 +10,8 @@ install:
|
||||||
|
|
||||||
repl: |
|
repl: |
|
||||||
rm -rf data
|
rm -rf data
|
||||||
mysqld -h "$PWD/data" --initialize-insecure
|
mysqld -h "$PWD/data" --log-error="$PWD/error.log" --initialize-insecure
|
||||||
(mysqld -h "$PWD/data" --socket="$PWD/socket" --pid-file="$PWD/pid-file" --mysqlx=OFF --skip-networking &)
|
(mysqld -h "$PWD/data" --log-error="$PWD/error.log" --socket="$PWD/socket" --pid-file="$PWD/pid-file" --mysqlx=OFF --skip-networking &)
|
||||||
until [[ -e socket ]]; do
|
until [[ -e socket ]]; do
|
||||||
sleep 0.01
|
sleep 0.01
|
||||||
done
|
done
|
||||||
|
@ -26,8 +26,8 @@ template: |
|
||||||
run: |
|
run: |
|
||||||
set -e
|
set -e
|
||||||
rm -rf data
|
rm -rf data
|
||||||
mysqld -h "$PWD/data" --initialize-insecure
|
mysqld -h "$PWD/data" --log-error="$PWD/error.log" --initialize-insecure
|
||||||
(mysqld -h "$PWD/data" --socket="$PWD/socket" --pid-file="$PWD/pid-file" --mysqlx=OFF --skip-networking &)
|
(mysqld -h "$PWD/data" --log-error="$PWD/error.log" --socket="$PWD/socket" --pid-file="$PWD/pid-file" --mysqlx=OFF --skip-networking &)
|
||||||
until [[ -e socket ]]; do
|
until [[ -e socket ]]; do
|
||||||
sleep 0.01
|
sleep 0.01
|
||||||
done
|
done
|
||||||
|
|
Loading…
Reference in New Issue