-
-
Notifications
You must be signed in to change notification settings - Fork 12.5k
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
mariadb*, mysql*, percona-server: fix CI test issues #66727
Conversation
Would it make sense to do this for all the |
See #60190 as well for a running attempt |
Yes, but I'm starting with the latest version first, to make sure the new test works in CI. I've been burned by "works on local, not in CI" enough times. 😁 |
That seems like an orthogonal issue. Adding version-specific data dirs into the mix just means that post-install will fail only on the versions with data dirs that were pre-b0rked for reasons unknown. Or am I missing your point? |
See #52004 for how this was handled on postgresql |
It would reduce the conflicts to just |
Yup, this PR was actually informed by PostgreSQL's approach. In fact, I think that for DBMSes and similar dataspace management packages, the general rule of thumb should be that CI:
|
4110a75
to
6d0b9f6
Compare
Not sure why it's draft, but it looks good to me. @gromgit let me know when you're satisfied with your own work ;) |
1. Don't run post-install in CI, so `mysql_install_db` doesn't trip over arbitrary contents of CI box 2. Run a proper test case
1. Don't run post-install in CI, so `mysql_install_db` doesn't trip over arbitrary contents of CI box 2. Run a proper test case
1. Don't run post-install in CI, so `mysql_install_db` doesn't trip over arbitrary contents of CI box 2. Run a proper test case
1. Don't run post-install in CI, so `mysql_install_db` doesn't trip over arbitrary contents of CI box 2. Run a proper test case
1. Don't run post-install in CI, so `mysql_install_db` doesn't trip over arbitrary contents of CI box 2. Run a proper test case
Don't run post-install in CI, so DB init doesn't trip over arbitrary contents of CI box
Don't run post-install in CI, so DB init doesn't trip over arbitrary contents of CI box
Don't run post-install in CI, so DB init doesn't trip over arbitrary contents of CI box
Don't run post-install in CI, so DB init doesn't trip over arbitrary contents of CI box
6d0b9f6
to
5c10e62
Compare
@fxcoudert Sorry, I decided to sleep on it, as I had a nagging feeling I'd forgotten something. It turns out I had: All the test MariaDB servers were running on the default port instead of Fixed that, and disabled CI post-install on Only one audit failure, which looks like a transient issue (the URL itself isn't broken):
|
For
mariadb*
:mysql_install_db
doesn't trip over arbitrary contents of CI boxmysql*
andpercona-server
already have decent test blocks, so I only applied [1] above.brew install --build-from-source <formula>
, where<formula>
is the name of the formula you're submitting?brew test <formula>
, where<formula>
is the name of the formula you're submitting?brew audit --strict <formula>
(after doingbrew install <formula>
)?