Skip to content

Commit 62246bd

Browse files
committed
contacts/it: set https port explicitly
When multiple ports are exposed, the WaitFor strategy can fail otherwise.
1 parent 9af6648 commit 62246bd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

jmap-contacts/src/test/java/com/audriga/jmap/contacts/StalwartContainer.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ public StalwartContainer(RemoteDockerImage image) {
3333
database =
3434
new PostgreSQLContainer("postgres:18").withNetwork(getNetwork()).withNetworkAliases("postgres");
3535
dependsOn(database);
36-
waitingFor(Wait.forHttps("/.well-known/jmap").allowInsecure());
36+
waitingFor(Wait.forHttps("/.well-known/jmap").forPort(443).allowInsecure());
3737
}
3838

3939
public static StalwartContainer forTag(String tag) {

0 commit comments

Comments
 (0)