mirror of
https://github.com/spring-projects/spring-boot.git
synced 2026-09-23 09:49:01 +00:00
Both Flyway and Liquibase makes use of DataSourceProperties to get default properties. Previously, both used strictly the configuration properties and failed to consider embedded datasource properties autoconfigured by @AutoConfigureTestDatabase. In case a database layer test e.g. @JdbcTest relies on the autoconfigured embedded datasource, Flyway and Liquibase autoconfiguration fails as they are not aware of the embedded datasource properties. See gh-16814