Fix mariadb healthcheck.

This commit is contained in:
Sam Rose 2024-05-31 14:59:15 +01:00
parent 52c1d505ef
commit 1777ac4b04
No known key found for this signature in database
1 changed files with 1 additions and 1 deletions

View File

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