Jiabao-Sun commented on code in PR #23227: URL: https://github.com/apache/flink/pull/23227#discussion_r1302722823
########## flink-runtime/src/test/java/org/apache/flink/runtime/executiongraph/ArchivedExecutionGraphTestUtils.java: ########## @@ -169,7 +169,7 @@ static void compareSerializedAccumulators( Map<String, SerializedValue<OptionalFailure<Object>>> runtimeAccs, Map<String, SerializedValue<OptionalFailure<Object>>> archivedAccs) throws IOException, ClassNotFoundException { - assertThat(runtimeAccs.size()).isEqualTo(archivedAccs.size()); + assertThat(runtimeAccs).hasSize(archivedAccs.size()); Review Comment: ```suggestion assertThat(runtimeAccs).hasSameSizeAs(archivedAccs); ``` -- 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