We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 80ae5d7 commit deebc5cCopy full SHA for deebc5c
modules/postgresql/src/main/java/org/testcontainers/containers/PostgreSQLContainer.java
@@ -60,7 +60,7 @@ public PostgreSQLContainer(final DockerImageName dockerImageName) {
60
this.waitStrategy =
61
new LogMessageWaitStrategy()
62
.withRegEx(".*database system is ready to accept connections.*\\s")
63
- .withTimes(2)
+ .withTimes(1)
64
.withStartupTimeout(Duration.of(60, ChronoUnit.SECONDS));
65
this.setCommand("postgres", "-c", FSYNC_OFF_OPTION);
66
0 commit comments