morhidi commented on code in PR #302:
URL:
https://github.com/apache/flink-kubernetes-operator/pull/302#discussion_r916562287
##########
flink-kubernetes-operator/src/test/java/org/apache/flink/kubernetes/operator/utils/StatusRecorderTest.java:
##########
@@ -70,49 +74,64 @@ public void testPatchOnlyWhenChanged() throws
InterruptedException {
@Test
public void testFlinkDeploymentMetrics() throws InterruptedException {
- var metricListener = new MetricListener();
+ var metrics = new HashMap<String, Metric>();
Review Comment:
This is boilerplate, do not understand why you prefer this approach over the
`MetricListener`
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]