ferenc-csaky commented on code in PR #24483: URL: https://github.com/apache/flink/pull/24483#discussion_r1524598528
########## flink-streaming-java/src/test/java/org/apache/flink/streaming/runtime/tasks/OneInputStreamTaskTest.java: ########## @@ -895,39 +890,38 @@ public TaskMetricGroup getMetricGroup() { (Gauge<Long>) chainedOperatorMetricGroup.get(MetricNames.IO_CURRENT_OUTPUT_WATERMARK); - Assert.assertEquals( - "A metric was registered multiple times.", - 5, - new HashSet<>( + assertThat( Review Comment: Right, I misinterpreted this part, but even the equals message clearly tells what happens here. :) -- 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: issues-unsubscr...@flink.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org