You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by di...@apache.org on 2021/02/22 02:30:02 UTC

[flink] 02/13: [FLINK-20536][tests] Update migration tests of AbstractNonKeyedOperatorRestoreTestBase to cover migration from 1.12

This is an automated email from the ASF dual-hosted git repository.

dianfu pushed a commit to branch release-1.12
in repository https://gitbox.apache.org/repos/asf/flink.git

commit 947f0c3b9c88c5dc6d843acd8744a6783e1b4b34
Author: Dian Fu <di...@apache.org>
AuthorDate: Fri Feb 19 15:06:48 2021 +0800

    [FLINK-20536][tests] Update migration tests of AbstractNonKeyedOperatorRestoreTestBase to cover migration from 1.12
---
 .../unkeyed/AbstractNonKeyedOperatorRestoreTestBase.java |   3 ++-
 .../resources/operatorstate/nonKeyed-flink1.12/_metadata | Bin 0 -> 3664 bytes
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/flink-tests/src/test/java/org/apache/flink/test/state/operator/restore/unkeyed/AbstractNonKeyedOperatorRestoreTestBase.java b/flink-tests/src/test/java/org/apache/flink/test/state/operator/restore/unkeyed/AbstractNonKeyedOperatorRestoreTestBase.java
index 10a809d..c0317dd 100644
--- a/flink-tests/src/test/java/org/apache/flink/test/state/operator/restore/unkeyed/AbstractNonKeyedOperatorRestoreTestBase.java
+++ b/flink-tests/src/test/java/org/apache/flink/test/state/operator/restore/unkeyed/AbstractNonKeyedOperatorRestoreTestBase.java
@@ -55,7 +55,8 @@ public abstract class AbstractNonKeyedOperatorRestoreTestBase
                 MigrationVersion.v1_8,
                 MigrationVersion.v1_9,
                 MigrationVersion.v1_10,
-                MigrationVersion.v1_11);
+                MigrationVersion.v1_11,
+                MigrationVersion.v1_12);
     }
 
     protected AbstractNonKeyedOperatorRestoreTestBase(MigrationVersion migrationVersion) {
diff --git a/flink-tests/src/test/resources/operatorstate/nonKeyed-flink1.12/_metadata b/flink-tests/src/test/resources/operatorstate/nonKeyed-flink1.12/_metadata
new file mode 100644
index 0000000..f7d1212
Binary files /dev/null and b/flink-tests/src/test/resources/operatorstate/nonKeyed-flink1.12/_metadata differ