Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-13632

Port serializer upgrade tests to TypeSerializerUpgradeTestBase

    XMLWordPrintableJSON

Details

    Description

      FLINK-11767 introduced a new test base (TypeSerializerUpgradeTestBase) for writing serializer upgrade tests. Now we need to migrate all existing tests from TypeSerializerSnapshotMigrationTestBase to use the new test base and update them to restore from Flink 1.8 onward.

      It seems these are the subclasses:

      • TtlSerializerStateMigrationTest (org.apache.flink.runtime.state.ttl)
      • ValueSerializerMigrationTest (org.apache.flink.api.java.typeutils.runtime)
      • PrimitiveArraySerializerSnapshotMigrationTest (org.apache.flink.api.common.typeutils.base.array)
      • AvroSerializerMigrationTest (org.apache.flink.formats.avro.typeutils)
      • TupleSerializerMigrationTest (org.apache.flink.api.java.typeutils.runtime)
      • BufferEntrySerializerMigrationTest (org.apache.flink.streaming.api.operators.co)
      • TimerSerializerSnapshotMigrationTest (org.apache.flink.streaming.api.operators)
      • StreamElementSerializerMigrationTest (org.apache.flink.streaming.runtime.streamrecord)
      • KryoSnapshotMigrationTest (org.apache.flink.api.java.typeutils.runtime.kryo)
      • BaseTypeSerializerSnapshotMigrationTest (org.apache.flink.api.common.typeutils.base)
      • NullableSerializerMigrationTest (org.apache.flink.api.java.typeutils.runtime)
      • VoidNamespacieSerializerSnapshotMigrationTest (org.apache.flink.runtime.state)
      • ScalaOptionSerializerSnapshotMigrationTest (org.apache.flink.api.scala.typeutils)
      • ScalaTrySerializerSnapshotMigrationTest (org.apache.flink.api.scala.typeutils)
      • JavaSerializerSnapshotMigrationTest (org.apache.flink.runtime.state)
      • LockableTypeSerializerSnapshotMigrationTest (org.apache.flink.cep.nfa.sharedbuffer)
      • NFASerializerSnapshotsMigrationTest (org.apache.flink.cep)
      • WindowSerializerSnapshotsMigrationTest (org.apache.flink.streaming.runtime.operators.windowing)
      • UnionSerializerMigrationTest (org.apache.flink.streaming.api.datastream)
      • TwoPhaseCommitSinkStateSerializerMigrationTest (org.apache.flink.streaming.api.functions.sink)
      • KafkaSerializerSnapshotsMigrationTest (org.apache.flink.streaming.connectors.kafka)
      • KafkaSerializerSnapshotsMigrationTest (org.apache.flink.streaming.connectors.kafka)
      • RowSerializerMigrationTest (org.apache.flink.api.java.typeutils.runtime)
      • ValueArraySerializerSnapshotMigrationTest (org.apache.flink.graph.types.valuearray)
      • MapSerializerSnapshotMigrationTest (org.apache.flink.api.common.typeutils.base)
      • CompositeTypeSerializerSnapshotMigrationTest (org.apache.flink.api.common.typeutils)
      • ListSerializerSnapshotMigrationTest (org.apache.flink.api.common.typeutils.base)
      • EnumSerializerSnapshotMigrationTest (org.apache.flink.api.common.typeutils.base)
      • PojoSerializerSnapshotMigrationTest (org.apache.flink.api.java.typeutils.runtime)
      • ArrayListSerializerMigrationTest (org.apache.flink.runtime.state)
      • CopyableSerializerMigrationTest (org.apache.flink.api.java.typeutils.runtime)
      • WritableSerializerMigrationTest (org.apache.flink.api.java.typeutils.runtime)
      • ListViewSerializerSnapshotMigrationTest (org.apache.flink.table.dataview)
      • MapViewSerializerSnapshotMigrationTest (org.apache.flink.table.dataview)
      • ScalaEitherSerializerSnapshotMigrationTest (org.apache.flink.api.scala.typeutils)
      • LongValueWithProperHashCodeSerializerSnapshotMigrationTest (org.apache.flink.graph.drivers.transform)
      • ScalaCaseClassSerializerSnapshotMigrationTest (org.apache.flink.api.scala.typeutils)
      • TraversableSerializerSnapshotMigrationTest (org.apache.flink.api.scala.typeutils)
      • EnumValueSerializerSnapshotMigrationTest (org.apache.flink.api.scala.typeutils)

      Attachments

        Issue Links

          Activity

            People

              aljoscha Aljoscha Krettek
              trohrmann Till Rohrmann
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m