You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by ch...@apache.org on 2022/07/11 17:45:51 UTC
[flink] branch release-1.15 updated: [FLINK-26621][tests] Close delegate keyed state backend
This is an automated email from the ASF dual-hosted git repository.
chesnay pushed a commit to branch release-1.15
in repository https://gitbox.apache.org/repos/asf/flink.git
The following commit(s) were added to refs/heads/release-1.15 by this push:
new 31fca4af7df [FLINK-26621][tests] Close delegate keyed state backend
31fca4af7df is described below
commit 31fca4af7df6b8c8424c6c37fb298a24d8836444
Author: Chesnay Schepler <ch...@apache.org>
AuthorDate: Mon Jul 11 19:36:33 2022 +0200
[FLINK-26621][tests] Close delegate keyed state backend
---
.../ChangelogPeriodicMaterializationTestBase.java | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/flink-tests/src/test/java/org/apache/flink/test/checkpointing/ChangelogPeriodicMaterializationTestBase.java b/flink-tests/src/test/java/org/apache/flink/test/checkpointing/ChangelogPeriodicMaterializationTestBase.java
index 4c5e7603efc..a810791db3f 100644
--- a/flink-tests/src/test/java/org/apache/flink/test/checkpointing/ChangelogPeriodicMaterializationTestBase.java
+++ b/flink-tests/src/test/java/org/apache/flink/test/checkpointing/ChangelogPeriodicMaterializationTestBase.java
@@ -523,6 +523,18 @@ public abstract class ChangelogPeriodicMaterializationTestBase extends TestLogge
checkpointId, timestamp, streamFactory, checkpointOptions);
return snapshotResultFunction.apply(snapshotResultRunnableFuture);
}
+
+ @Override
+ public void dispose() {
+ super.dispose();
+ delegatedKeyedStateBackend.dispose();
+ }
+
+ @Override
+ public void close() throws IOException {
+ super.close();
+ delegatedKeyedStateBackend.close();
+ }
};
}