From ed7829b77e46c5257a5aa5795dbe5f551504e74e Mon Sep 17 00:00:00 2001 From: Glenn Renfro Date: Mon, 18 Nov 2024 09:25:34 -0500 Subject: [PATCH] Resolve Postgres IT test failure We are currently testing 2.10 to 2.11 migrations in the 3.x project This is causing a failure in the IT test: migration210211 The resolution is to test it the 2.11 -> 3.0 migration. Signed-off-by: Glenn Renfro --- .../integration/test/db/AbstractPostgresDatabaseTests.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/spring-cloud-dataflow-server/src/test/java/org/springframework/cloud/dataflow/integration/test/db/AbstractPostgresDatabaseTests.java b/spring-cloud-dataflow-server/src/test/java/org/springframework/cloud/dataflow/integration/test/db/AbstractPostgresDatabaseTests.java index eb1a6ac1f7..b34f8ae2e5 100644 --- a/spring-cloud-dataflow-server/src/test/java/org/springframework/cloud/dataflow/integration/test/db/AbstractPostgresDatabaseTests.java +++ b/spring-cloud-dataflow-server/src/test/java/org/springframework/cloud/dataflow/integration/test/db/AbstractPostgresDatabaseTests.java @@ -79,15 +79,15 @@ public void migrationError() { @SuppressWarnings("deprecation") @Test @DataflowMain - public void migration210211() throws URISyntaxException { + public void migration211_30() throws URISyntaxException { log.info("Running testMigrationError()"); this.dataflowCluster.startSkipperDatabase(getDatabaseTag()); this.dataflowCluster.startDataflowDatabase(getDatabaseTag()); - this.dataflowCluster.startSkipper(TagNames.SKIPPER_2_9); + this.dataflowCluster.startSkipper(TagNames.SKIPPER_2_11); assertSkipperServerRunning(this.dataflowCluster); - this.dataflowCluster.startDataflow(TagNames.DATAFLOW_2_10); + this.dataflowCluster.startDataflow(TagNames.DATAFLOW_2_11); assertDataflowServerRunning(this.dataflowCluster); ObjectMapper objectMapper = new ObjectMapper();