Skip to content

Commit

Permalink
Generated test files for migration/snapshot
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffxiang committed Dec 12, 2024
1 parent 9f95a6b commit bf362ae
Show file tree
Hide file tree
Showing 43 changed files with 6 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,9 @@ public static Collection<FlinkVersion> parameters() {
FlinkVersion.v1_13,
FlinkVersion.v1_14,
FlinkVersion.v1_15,
FlinkVersion.v1_16
FlinkVersion.v1_16,
FlinkVersion.v1_17,
FlinkVersion.v1_18
);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
public class FlinkPscProducerMigrationTest extends PscMigrationTestBase {
@Parameterized.Parameters(name = "Migration Savepoint: {0}")
public static Collection<FlinkVersion> parameters() {
return FlinkVersion.rangeOf(FlinkVersion.v1_11, FlinkVersion.v1_16);
return FlinkVersion.rangeOf(FlinkVersion.v1_11, FlinkVersion.v1_18);
}

public FlinkPscProducerMigrationTest(FlinkVersion testMigrateVersion) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ public abstract class PscMigrationTestBase extends PscTestBaseWithKafkaAsPubSub
new KeyedSerializationSchemaWrapper<>(integerSerializationSchema);

/**
* Instructions: change this to the corresponding savepoint version to be written (e.g. {@link MigrationVersion#v1_3} for 1.3)
* Instructions: change this to the corresponding savepoint version to be written (e.g. {@link FlinkVersion#v1_3} for 1.3)
* and remove all @Ignore annotations on writeSnapshot() methods to generate savepoints
* Note: You should generate the savepoint based on the release branch instead of the master.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
@TestInstance(TestInstance.Lifecycle.PER_CLASS)
public abstract class TypeSerializerUpgradeTestBase<PreviousElementT, UpgradedElementT> {

public static final FlinkVersion CURRENT_VERSION = FlinkVersion.v1_17;
public static final FlinkVersion CURRENT_VERSION = FlinkVersion.v1_18;

public static final Set<FlinkVersion> MIGRATION_VERSIONS =
FlinkVersion.rangeOf(FlinkVersion.v1_11, CURRENT_VERSION);
Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

0 comments on commit bf362ae

Please sign in to comment.