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 <[email protected]>
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();
+ }
};
}