Commit 5299d73
committed
fix(ci): repair MySQL healthcheck so dependents wait for it properly
Exec-form healthcheck did not shell-expand $$MYSQL_USER and
$$MYSQL_PASSWORD, so mysqladmin received literal '$MYSQL_USER' as the
username. mysqladmin ping reports 'mysqld is alive' on connection
errors via stderr while still exiting non-zero with bad credentials,
making the check unstable and CI flakes (Adapter Tests
SharedTables/MySQL) appear with all tests failing on Connection
refused before MySQL was actually ready. Switch to CMD-SHELL so the
env vars expand at run time, ping over TCP on the configured port,
and use root/MYSQL_ROOT_PASSWORD which is always set.1 parent b8e383c commit 5299d73
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
189 | 189 | | |
190 | 190 | | |
191 | 191 | | |
192 | | - | |
| 192 | + | |
193 | 193 | | |
194 | 194 | | |
195 | 195 | | |
| |||
211 | 211 | | |
212 | 212 | | |
213 | 213 | | |
214 | | - | |
| 214 | + | |
215 | 215 | | |
216 | 216 | | |
217 | 217 | | |
| |||
0 commit comments