At long last, fix MariaDB tests too
This commit is contained in:
parent
110995dfd9
commit
59e5e03655
|
@ -19,8 +19,8 @@ install:
|
||||||
|
|
||||||
repl: |
|
repl: |
|
||||||
rm -rf data
|
rm -rf data
|
||||||
/opt/mariadb/scripts/mariadb-install-db --user="$(id -un)"
|
/opt/mariadb/scripts/mariadb-install-db --no-defaults --user="$(id -un)"
|
||||||
(/opt/mariadb/bin/mysqld --datadir="$PWD/data" --socket="$PWD/socket" --skip-networking &)
|
(/opt/mariadb/bin/mysqld --no-defaults --datadir="$PWD/data" --socket="$PWD/socket" --skip-networking &)
|
||||||
until [[ -e socket ]]; do
|
until [[ -e socket ]]; do
|
||||||
sleep 0.01
|
sleep 0.01
|
||||||
done
|
done
|
||||||
|
@ -35,8 +35,8 @@ template: |
|
||||||
run: |
|
run: |
|
||||||
set -e
|
set -e
|
||||||
rm -rf data
|
rm -rf data
|
||||||
/opt/mariadb/scripts/mariadb-install-db --user="$(id -un)"
|
/opt/mariadb/scripts/mariadb-install-db --no-defaults --user="$(id -un)"
|
||||||
(/opt/mariadb/bin/mysqld --datadir="$PWD/data" --socket="$PWD/socket" --skip-networking &)
|
(/opt/mariadb/bin/mysqld --no-defaults --datadir="$PWD/data" --socket="$PWD/socket" --skip-networking &)
|
||||||
until [[ -e socket ]]; do
|
until [[ -e socket ]]; do
|
||||||
sleep 0.01
|
sleep 0.01
|
||||||
done
|
done
|
||||||
|
|
|
@ -10,8 +10,8 @@ install:
|
||||||
|
|
||||||
repl: |
|
repl: |
|
||||||
rm -rf data
|
rm -rf data
|
||||||
mysqld -h "$PWD/data" --log-error="$PWD/error.log" --initialize-insecure
|
mysqld --no-defaults -h "$PWD/data" --initialize-insecure
|
||||||
(mysqld -h "$PWD/data" --log-error="$PWD/error.log" --socket="$PWD/socket" --pid-file="$PWD/pid-file" --mysqlx=OFF --skip-networking &)
|
(mysqld --no-defaults -h "$PWD/data" --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" --log-error="$PWD/error.log" --initialize-insecure
|
mysqld --no-defaults -h "$PWD/data" --initialize-insecure
|
||||||
(mysqld -h "$PWD/data" --log-error="$PWD/error.log" --socket="$PWD/socket" --pid-file="$PWD/pid-file" --mysqlx=OFF --skip-networking &)
|
(mysqld --no-defaults -h "$PWD/data" --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