You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by tz...@apache.org on 2019/12/20 06:55:35 UTC
[flink] 10/11: [FLINK-11767] Deprecate
TypeSerializerSnapshotMigrationTestBase in favour of
TypeSerializerUpgradeTestBase
This is an automated email from the ASF dual-hosted git repository.
tzulitai pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/flink.git
commit 1247e66da2c11bc7bc6103252dc55c7367bd67ce
Author: Aljoscha Krettek <al...@apache.org>
AuthorDate: Tue Dec 10 13:52:48 2019 +0100
[FLINK-11767] Deprecate TypeSerializerSnapshotMigrationTestBase in favour of TypeSerializerUpgradeTestBase
There are still a lot of tests that need to be ported, but we should not
add new tests using the old test base.
---
.../api/common/typeutils/TypeSerializerSnapshotMigrationTestBase.java | 3 +++
1 file changed, 3 insertions(+)
diff --git a/flink-core/src/test/java/org/apache/flink/api/common/typeutils/TypeSerializerSnapshotMigrationTestBase.java b/flink-core/src/test/java/org/apache/flink/api/common/typeutils/TypeSerializerSnapshotMigrationTestBase.java
index c23a983..6aa3481 100644
--- a/flink-core/src/test/java/org/apache/flink/api/common/typeutils/TypeSerializerSnapshotMigrationTestBase.java
+++ b/flink-core/src/test/java/org/apache/flink/api/common/typeutils/TypeSerializerSnapshotMigrationTestBase.java
@@ -53,7 +53,10 @@ import static org.hamcrest.MatcherAssert.assertThat;
* A test base for verifying {@link TypeSerializerSnapshot} migration.
*
* @param <ElementT> the element being serialized.
+ *
+ * @deprecated please use the newer {@link TypeSerializerUpgradeTestBase}
*/
+@Deprecated
public abstract class TypeSerializerSnapshotMigrationTestBase<ElementT> extends TestLogger {
private final TestSpecification<ElementT> testSpecification;