snuyanzin commented on code in PR #28622:
URL: https://github.com/apache/flink/pull/28622#discussion_r3695569310
##########
flink-libraries/flink-cep/src/test/java/org/apache/flink/cep/CEPITCase.java:
##########
@@ -200,11 +202,11 @@ public Integer getKey(Event value) throws Exception {
resultList.sort(String::compareTo);
- assertEquals(Arrays.asList("2,2,2", "3,3,3", "42,42,42"), resultList);
+ assertThat(resultList).containsExactly("2,2,2", "3,3,3", "42,42,42");
Review Comment:
can we remove sort and compare by content without order?
--
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]