mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-08-29 03:06:45 +08:00
Upgrade to Liquibase 4.24.0
Closes gh-38120
This commit is contained in:
parent
5b9eac1885
commit
5765f9410c
@ -266,8 +266,12 @@ class LiquibaseAutoConfigurationTests {
|
|||||||
|
|
||||||
@Test
|
@Test
|
||||||
void overrideClearChecksums() {
|
void overrideClearChecksums() {
|
||||||
|
String jdbcUrl = "jdbc:hsqldb:mem:liquibase" + UUID.randomUUID();
|
||||||
this.contextRunner.withUserConfiguration(EmbeddedDataSourceConfiguration.class)
|
this.contextRunner.withUserConfiguration(EmbeddedDataSourceConfiguration.class)
|
||||||
.withPropertyValues("spring.liquibase.clear-checksums:true")
|
.withPropertyValues("spring.liquibase.url:" + jdbcUrl)
|
||||||
|
.run((context) -> assertThat(context).hasNotFailed());
|
||||||
|
this.contextRunner.withUserConfiguration(EmbeddedDataSourceConfiguration.class)
|
||||||
|
.withPropertyValues("spring.liquibase.clear-checksums:true", "spring.liquibase.url:" + jdbcUrl)
|
||||||
.run(assertLiquibase((liquibase) -> assertThat(liquibase.isClearCheckSums()).isTrue()));
|
.run(assertLiquibase((liquibase) -> assertThat(liquibase.isClearCheckSums()).isTrue()));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -823,11 +823,7 @@ bom {
|
|||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
library("Liquibase", "4.23.0") {
|
library("Liquibase", "4.24.0") {
|
||||||
prohibit {
|
|
||||||
versionRange "4.23.1"
|
|
||||||
because "it contains a regression (https://github.com/liquibase/liquibase/issues/4684)"
|
|
||||||
}
|
|
||||||
group("org.liquibase") {
|
group("org.liquibase") {
|
||||||
modules = [
|
modules = [
|
||||||
"liquibase-cdi",
|
"liquibase-cdi",
|
||||||
|
Loading…
Reference in New Issue
Block a user