Skip to content

Commit

Permalink
Disable Postgres backward compat migration IT
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
corneil authored Dec 12, 2024
1 parent 5e5edc5 commit dac22b2
Showing 1 changed file with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
import java.net.URISyntaxException;

import com.fasterxml.jackson.databind.ObjectMapper;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
Expand Down Expand Up @@ -79,15 +80,16 @@ public void migrationError() {
@SuppressWarnings("deprecation")
@Test
@DataflowMain
public void migration210211() throws URISyntaxException {
@Disabled("Reactivate when 3.1 is released")
public void migration30_31() 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_3_0);
assertSkipperServerRunning(this.dataflowCluster);

this.dataflowCluster.startDataflow(TagNames.DATAFLOW_2_10);
this.dataflowCluster.startDataflow(TagNames.DATAFLOW_3_0);
assertDataflowServerRunning(this.dataflowCluster);

ObjectMapper objectMapper = new ObjectMapper();
Expand Down

0 comments on commit dac22b2

Please sign in to comment.