Skip to content

Commit dac22b2

Browse files
author
Corneil du Plessis
authored
Disable Postgres backward compat migration IT
Marks the `AbstractPostgresDatabaseTests` with `@Disabled` as we can not easily test backwards compatibility between `2.11.x` and `3.0.0` because the `3.x` dataflow client does not work with `2.11.x` server. As such, we will re-enable the test once `3.1.0` is released.
1 parent 5e5edc5 commit dac22b2

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

spring-cloud-dataflow-server/src/test/java/org/springframework/cloud/dataflow/integration/test/db/AbstractPostgresDatabaseTests.java

+5-3
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
import java.net.URISyntaxException;
2121

2222
import com.fasterxml.jackson.databind.ObjectMapper;
23+
import org.junit.jupiter.api.Disabled;
2324
import org.junit.jupiter.api.Test;
2425
import org.slf4j.Logger;
2526
import org.slf4j.LoggerFactory;
@@ -79,15 +80,16 @@ public void migrationError() {
7980
@SuppressWarnings("deprecation")
8081
@Test
8182
@DataflowMain
82-
public void migration210211() throws URISyntaxException {
83+
@Disabled("Reactivate when 3.1 is released")
84+
public void migration30_31() throws URISyntaxException {
8385
log.info("Running testMigrationError()");
8486
this.dataflowCluster.startSkipperDatabase(getDatabaseTag());
8587
this.dataflowCluster.startDataflowDatabase(getDatabaseTag());
8688

87-
this.dataflowCluster.startSkipper(TagNames.SKIPPER_2_9);
89+
this.dataflowCluster.startSkipper(TagNames.SKIPPER_3_0);
8890
assertSkipperServerRunning(this.dataflowCluster);
8991

90-
this.dataflowCluster.startDataflow(TagNames.DATAFLOW_2_10);
92+
this.dataflowCluster.startDataflow(TagNames.DATAFLOW_3_0);
9193
assertDataflowServerRunning(this.dataflowCluster);
9294

9395
ObjectMapper objectMapper = new ObjectMapper();

0 commit comments

Comments
 (0)