The tests are ok, but they stop with a log entry:
com.mongodb.MongoSocketReadException: Prematurely reached end of stream
I use Kotlin and the JUnit 5 support from testcontainers to set up the tests and @DynamicPropertySource from Spring Boot to configure the container. Is that a problem I should care about and if so, how do I avoid it? Is there a way to gracefully shut down the connection? I am not sure if this is really related to testcontainers.