When constructing a JUnit test using Testcontainers my test hangs until timeout after the message "Waiting for database connection to become available at" and the container logs, then helpfully shown, do not yield any error. I can even connect to the running docker container with my favourite JDBC-query-tool.
Currently I'm using the MySQL container.