Description
springframeworkguru opened DATAJPA-1731 and commented
After updating project to Spring Boot 2.3.0, Spring Data JPA is hanging on deferred initialization of repositories when executing tests under Maven Surefire.
If property spring.data.jpa.repositories.bootstrap-mode is set to lazy, tests under surefire will pass, but application will hang on startup.
If spring.data.jpa.repositories.bootstrap-mode is set to default tests will pass, and application will startup normally.
Running tests via IntelliJ seems to work normally for any setting.
Example project here: https://github.com/springframeworkguru/mssc-beer-service
Was working fine under Spring Boot 2.2.x. Only started happening under Spring Boot 2.3.0.
No further details from DATAJPA-1731