From 708c43a8d18f1a442427f7eb903a8ccfae960c41 Mon Sep 17 00:00:00 2001 From: Andy Wilkinson Date: Mon, 26 Oct 2020 13:01:54 +0000 Subject: [PATCH] Upgrade to Flyway 7.0.4 Closes gh-23892 --- .../boot/autoconfigure/flyway/FlywayAutoConfigurationTests.java | 2 +- spring-boot-project/spring-boot-dependencies/build.gradle | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/spring-boot-project/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/flyway/FlywayAutoConfigurationTests.java b/spring-boot-project/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/flyway/FlywayAutoConfigurationTests.java index 78be54d7a8..e9a58f9336 100644 --- a/spring-boot-project/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/flyway/FlywayAutoConfigurationTests.java +++ b/spring-boot-project/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/flyway/FlywayAutoConfigurationTests.java @@ -526,7 +526,7 @@ class FlywayAutoConfigurationTests { assertThat(context).hasFailed(); Throwable failure = context.getStartupFailure(); assertThat(failure).hasRootCauseInstanceOf(FlywayTeamsUpgradeRequiredException.class); - assertThat(failure).hasMessageContaining(" migrations "); + assertThat(failure).hasMessageContaining(" cherryPick "); }); } diff --git a/spring-boot-project/spring-boot-dependencies/build.gradle b/spring-boot-project/spring-boot-dependencies/build.gradle index 487d40d905..2d5eb97164 100644 --- a/spring-boot-project/spring-boot-dependencies/build.gradle +++ b/spring-boot-project/spring-boot-dependencies/build.gradle @@ -304,7 +304,7 @@ bom { ] } } - library("Flyway", "7.0.2") { + library("Flyway", "7.0.4") { group("org.flywaydb") { modules = [ "flyway-core"