Skip to content

Commit dfa30dd

Browse files
committed
fix startup postgresql
1 parent e2d5976 commit dfa30dd

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

embedded-postgresql/src/main/java/com/playtika/testcontainer/postgresql/EmbeddedPostgreSQLBootstrapConfiguration.java

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -75,10 +75,6 @@ public PostgreSQLContainer postgresql(ConfigurableEnvironment environment,
7575

7676
network.ifPresent(postgresql::withNetwork);
7777

78-
postgresql.waitingFor(new ShellStrategy()
79-
.withCommand(format("pg_isready -U %s -d %s", properties.getUser(), properties.getDatabase()))
80-
.withStartupTimeout(Duration.of(60, ChronoUnit.SECONDS)));
81-
8278
String startupLogCheckRegex = properties.getStartupLogCheckRegex();
8379
if (StringUtils.hasLength(startupLogCheckRegex)) {
8480
WaitStrategy waitStrategy = new LogMessageWaitStrategy()

0 commit comments

Comments
 (0)