Up startup timeouts on containers.
This commit is contained in:
parent
fab9409246
commit
36502b8410
|
@ -32,7 +32,7 @@ export async function getDatasource(): Promise<Datasource> {
|
|||
.withExposedPorts(3306)
|
||||
.withTmpFs({ "/var/lib/mysql": "rw" })
|
||||
.withEnvironment({ MARIADB_ROOT_PASSWORD: "password" })
|
||||
.withWaitStrategy(new MariaDBWaitStrategy())
|
||||
.withWaitStrategy(new MariaDBWaitStrategy().withStartupTimeout(20000))
|
||||
)
|
||||
}
|
||||
|
||||
|
|
|
@ -18,7 +18,7 @@ export async function getDatasource(): Promise<Datasource> {
|
|||
.withWaitStrategy(
|
||||
Wait.forSuccessfulCommand(
|
||||
`mongosh --eval "db.version()"`
|
||||
).withStartupTimeout(10000)
|
||||
).withStartupTimeout(20000)
|
||||
)
|
||||
)
|
||||
}
|
||||
|
|
|
@ -25,7 +25,7 @@ export async function getDatasource(): Promise<Datasource> {
|
|||
.withWaitStrategy(
|
||||
Wait.forSuccessfulCommand(
|
||||
"/opt/mssql-tools/bin/sqlcmd -S localhost -U sa -P Password_123 -q 'SELECT 1'"
|
||||
)
|
||||
).withStartupTimeout(20000)
|
||||
)
|
||||
)
|
||||
}
|
||||
|
|
|
@ -35,7 +35,7 @@ export async function getDatasource(): Promise<Datasource> {
|
|||
.withExposedPorts(3306)
|
||||
.withEnvironment({ MYSQL_ROOT_PASSWORD: "password" })
|
||||
.withTmpFs({ "/var/lib/mysql": "rw" })
|
||||
.withWaitStrategy(new MySQLWaitStrategy().withStartupTimeout(10000))
|
||||
.withWaitStrategy(new MySQLWaitStrategy().withStartupTimeout(20000))
|
||||
)
|
||||
}
|
||||
|
||||
|
|
|
@ -26,7 +26,11 @@ export async function getDatasource(): Promise<Datasource> {
|
|||
.withTmpFs({
|
||||
"/opt/oracle/oradata/FREEPDB1": "",
|
||||
})
|
||||
.withWaitStrategy(Wait.forLogMessage("DATABASE IS READY TO USE!"))
|
||||
.withWaitStrategy(
|
||||
Wait.forLogMessage("DATABASE IS READY TO USE!").withStartupTimeout(
|
||||
20000
|
||||
)
|
||||
)
|
||||
)
|
||||
}
|
||||
|
||||
|
|
|
@ -17,7 +17,7 @@ export async function getDatasource(): Promise<Datasource> {
|
|||
.withWaitStrategy(
|
||||
Wait.forSuccessfulCommand(
|
||||
"pg_isready -h localhost -p 5432"
|
||||
).withStartupTimeout(10000)
|
||||
).withStartupTimeout(20000)
|
||||
)
|
||||
)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue