Fix mariadb healthcheck.
This commit is contained in:
parent
52c1d505ef
commit
1777ac4b04
|
@ -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)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue