1
0
Fork 0
mirror of synced 2024-09-09 22:16:26 +12:00

Merge pull request #13832 from Budibase/fix-mariadb-healthcheck

Fix mariadb healthcheck.
This commit is contained in:
Sam Rose 2024-05-31 16:04:40 +01:00 committed by GitHub
commit 792970a93e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -18,7 +18,7 @@ class MariaDBWaitStrategy extends AbstractWaitStrategy {
await logs.waitUntilReady(container, boundPorts, startTime)
const command = Wait.forSuccessfulCommand(
`mysqladmin ping -h localhost -P 3306 -u root -ppassword`
`/usr/local/bin/healthcheck.sh --innodb_initialized`
)
await command.waitUntilReady(container)
}