[
https://issues.apache.org/jira/browse/FLINK-30833?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17685169#comment-17685169
]
Chesnay Schepler commented on FLINK-30833:
------------------------------------------
Do you even need to test the closing? Wouldn't the metric being registered
again suffice?
> TestMetricGroup supports being closed
> -------------------------------------
>
> Key: FLINK-30833
> URL: https://issues.apache.org/jira/browse/FLINK-30833
> Project: Flink
> Issue Type: Improvement
> Components: Runtime / Metrics, Tests
> Affects Versions: 1.16.1
> Reporter: Mason Chen
> Priority: Major
>
> For testing purposes, closing a metric group is required to verify logic that
> maintains metrics. The TestMetricGroup needs to extend AbstractMetricGroup<>
> to support this.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)