1
0
Fork 0
mirror of synced 2024-09-02 10:41:09 +12:00

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

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