Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release 2024q4 part 1 #618

Merged
merged 11 commits into from
Nov 4, 2024
Prev Previous commit
Next Next commit
test: break config file
grooverdan committed Sep 3, 2024

Verified

This commit was signed with the committer’s verified signature. The key has expired.
hoangnt2 Nguyen Thai Hoang
commit 97c2acc171152f38e4bc6ddb4f84ccc8abae9e6b
6 changes: 4 additions & 2 deletions .test/run.sh
Original file line number Diff line number Diff line change
@@ -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"