mirror of
https://github.com/MariaDB/mariadb-docker.git
synced 2025-04-19 06:02:18 +03:00
test: break config file
This commit is contained in:
parent
376c7ec713
commit
d8668a590a
@ -961,12 +961,14 @@ zstd "${initdb}"/*zst*
|
||||
# ERROR 1045 (28000): Access denied
|
||||
docker exec "$cname" healthcheck.sh --connect
|
||||
|
||||
|
||||
# break port
|
||||
docker exec "$cname" sed -i -e 's/\(port=\)/\14/' /var/lib/mysql/.my-healthcheck.cnf
|
||||
|
||||
docker exec "$cname" healthcheck.sh --connect || echo "ok, broken port is a connection failure"
|
||||
|
||||
# break config file
|
||||
docker exec "$cname" sed -i -e 's/-client]$//' /var/lib/mysql/.my-healthcheck.cnf
|
||||
docker exec "$cname" healthcheck.sh --connect || echo "ok, broken config file is a failure"
|
||||
|
||||
killoff
|
||||
|
||||
docker volume rm "$tmpvol"
|
||||
|
Loading…
x
Reference in New Issue
Block a user