Module
MariaDB
Testcontainers version
1.21.1
Problem at least present since 1.16.0
Using the latest Testcontainers version?
Yes
What happened?
|
public Set<Integer> getLivenessCheckPortNumbers() { |
|
return Sets.newHashSet(MARIADB_PORT); |
|
} |
The MAPPED port is NOT returned, which causes the HostPortWaitStrategy to fail.
Why does this method exists in the first place? I couldn't find why it even exists. The super Method should work just fine.
Additional Information
This is part of a general performance regression in JDBC containers (waitUntilContainerStarted), that I'm currently addressing. I will create some follow up issues too describe the problem/s in more detail soon.
Module
MariaDB
Testcontainers version
1.21.1
Problem at least present since 1.16.0
Using the latest Testcontainers version?
Yes
What happened?
testcontainers-java/modules/mariadb/src/main/java/org/testcontainers/containers/MariaDBContainer.java
Lines 64 to 66 in 7d83019
The MAPPED port is NOT returned, which causes the
HostPortWaitStrategyto fail.Why does this method exists in the first place? I couldn't find why it even exists. The super Method should work just fine.
Additional Information
This is part of a general performance regression in JDBC containers (
waitUntilContainerStarted), that I'm currently addressing. I will create some follow up issues too describe the problem/s in more detail soon.