Attempting to fix issue with Postgres not being fully started in Github CI - previous message the DB was starting, this message means the database is fully started.
This commit is contained in:
parent
0504f1dfa3
commit
d4fd775c37
|
@ -15,9 +15,7 @@ export async function getDsConfig(): Promise<Datasource> {
|
||||||
.withExposedPorts(5432)
|
.withExposedPorts(5432)
|
||||||
.withEnv("POSTGRES_PASSWORD", "password")
|
.withEnv("POSTGRES_PASSWORD", "password")
|
||||||
.withWaitStrategy(
|
.withWaitStrategy(
|
||||||
Wait.forLogMessage(
|
Wait.forLogMessage("database system is ready to accept connections")
|
||||||
"PostgreSQL init process complete; ready for start up."
|
|
||||||
)
|
|
||||||
)
|
)
|
||||||
.start()
|
.start()
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue