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

Fix connection error message regexp for Mysql2 #506

Merged
merged 1 commit into from
Oct 26, 2023

Conversation

adrianna-chang-shopify
Copy link
Contributor

In CI, sometimes the Mysql2 error message for a lost connection doesn't include "MySQL server", it says "Lost connection to server". (Example: https://github.com/Shopify/semian/actions/runs/6658049618/job/18094086273#step:7:37)

This commit makes the "MySQL" part of the regexp optional.

This will fix failing CI.

In CI, sometimes the Mysql2 error message for a lost connection doesn't
include "MySQL server", it says "Lost connection to server".
This commit makes the "MySQL" part of the regexp optional.

Co-authored-by: Nikita Vasilevsky <nikita.vasilevsky@shopify.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants