Hi,
this PR improves the spring-boot-deployment-tests
build step by splitting them apart based on their underlying container (e.g. Wildfly, TomEE etc.).
By doing so we can make use of static per-class testcontainers instead of starting a container for every test. This reduces the amount of started containers from 12 to 4 and therefore obviously the test time as well. (On my machine it only takes a third of what it took before). My hope is that this reduces the pressure on CI as well and helps to minimize flaky tests reported in #25410.
Let me know what you think. Cheers, Christoph
P.S.: The separate renaming commit was kind of intentional in order to preserve history for DeploymentIntegrationTests
.
Comment From: wilkinsona
Lovely stuff! Thanks very much once again, @dreis2211.