According to the testcontainer example the container should be started first. Otherwise it could lead to container port mapping problems. See: https://github.com/testcontainers/testcontainers-java/blob/main/examples/spring-boot/src/test/java/com/example/AbstractIntegrationTest.java
Comment From: sbrannen
- Superseded by #29937
Comment From: sbrannen
Hi @samuelstein,
Congratulations on creating your first issue and PR for the Spring Framework. 👍
In the future, please do not create an issue and a PR for the same topic. The PR suffices since we will always close the issue as "superseded".
Thanks
Comment From: samuelstein
Hi @sbrannen , thx for clarification. i will follow this process in the future