snuyanzin commented on code in PR #19916: URL: https://github.com/apache/flink/pull/19916#discussion_r963124501
########## flink-streaming-java/src/test/java/org/apache/flink/streaming/runtime/operators/GenericWriteAheadSinkTest.java: ########## @@ -122,15 +123,15 @@ protected void verifyResultsWhenReScaling( } Collections.sort(sink.values); - Assert.assertArrayEquals(list.toArray(), sink.values.toArray()); + assertThat(sink.values.toArray()).containsExactly(list.toArray()); } @Test Review Comment: done within this PR as https://github.com/apache/flink/pull/19916/commits/edcf9c5d16340caf114bae8af1a1ee9efff9afb5 please let me know if it is better to have another PR for this or not -- 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