snuyanzin commented on code in PR #28561:
URL: https://github.com/apache/flink/pull/28561#discussion_r3566692731


##########
flink-libraries/flink-state-processing-api/src/test/java/org/apache/flink/state/api/input/ListStateInputFormatTest.java:
##########
@@ -84,12 +83,9 @@ public void testReadListOperatorState() throws Exception {
                 results.add(format.nextRecord(0));
             }
 
-            results.sort(Comparator.naturalOrder());
-
-            Assert.assertEquals(
-                    "Failed to read correct list state from state backend",
-                    Arrays.asList(1, 2, 3),
-                    results);
+            assertThat(results)
+                    .as("Failed to read correct list state from state backend")
+                    .containsExactlyInAnyOrder(1, 2, 3);

Review Comment:
   why did we stop checking order 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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to