Skip to content

Commit fa8d71b

Browse files
Increase healthcheck timeout
1 parent a35d699 commit fa8d71b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/modules/postgresql/src/postgresql-container.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ export class PostgreSqlContainer extends GenericContainer {
3535
});
3636
this.withHealthCheck({
3737
test: ["CMD-SHELL", `PGPASSWORD=${this.password} psql -U ${this.username} -d ${this.database} -c 'SELECT 1;'`],
38-
interval: 100,
39-
timeout: 100,
38+
interval: 250,
39+
timeout: 1000,
4040
retries: 1000,
4141
});
4242
this.withWaitStrategy(Wait.forHealthCheck());

0 commit comments

Comments
 (0)