Currently TestcontainersLifecycleBeanPostProcessor starts beans sequentially, it would be nice to offer an option to start them in parallel.

Comment From: philwebb

Hacked up prototype code is at https://gist.github.com/bsideup/f05346e79e308ee3fc1307b50261343e

Comment From: AbdelHajou

Hi @philwebb , Testcontainers now supports parallel initialization of containers by passing the parallel = true to the @Testcontainers annotation. Not sure how long it has been in there, do you still think we need support for parallel initialization in the TestcontainersLifecycleBeanPostProcessor?

Comment From: eddumelendez

@AbdelHajou the parallel attribute in Testcontainers annotations is used in tests for static fields. This issue will address the parallel initialization when the container implementations are provided as a beans. See https://spring.io/blog/2023/06/23/improved-testcontainers-support-in-spring-boot-3-1

Comment From: philwebb

Reopening to change property name to spring.testcontainers.beans.startup