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:
mike12345567 2024-01-26 13:42:39 +00:00
parent 0504f1dfa3
commit d4fd775c37
1 changed files with 1 additions and 3 deletions

View File

@ -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()
} }