Skip to content
Snippets Groups Projects
Commit d8668a59 authored by Daniel Black's avatar Daniel Black
Browse files

test: break config file

parent 376c7ec7
No related branches found
No related tags found
No related merge requests found
......@@ -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"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment