Skip to content

Commit fd823a1

Browse files
MrBuddyCasinoMichael Böckling
andauthored
Make WaitStrategy's regex in PrestoContainer work with newer image (#2992)
Co-authored-by: Michael Böckling <[email protected]>
1 parent 3c391bf commit fd823a1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/presto/src/main/java/org/testcontainers/containers/PrestoContainer.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ public PrestoContainer() {
3030
public PrestoContainer(final String dockerImageName) {
3131
super(dockerImageName);
3232
this.waitStrategy = new LogMessageWaitStrategy()
33-
.withRegEx(".*io.prestosql.server.PrestoServer\\s+======== SERVER STARTED ========.*")
33+
.withRegEx(".*======== SERVER STARTED ========.*")
3434
.withStartupTimeout(Duration.of(60, SECONDS));
3535

3636
addExposedPort(PRESTO_PORT);

0 commit comments

Comments
 (0)