leo65535 commented on code in PR #702:
URL: https://github.com/apache/incubator-paimon/pull/702#discussion_r1147062750


##########
paimon-flink/paimon-flink-common/src/test/java/org/apache/paimon/flink/CatalogTableITCase.java:
##########
@@ -53,8 +53,9 @@ public void testSnapshotsTable() throws Exception {
         sql("INSERT INTO T VALUES (3, 4)");
 
         List<Row> result = sql("SELECT snapshot_id, schema_id, commit_kind 
FROM T$snapshots");
-        assertThat(result)
-                .containsExactlyInAnyOrder(Row.of(1L, 0L, "APPEND"), 
Row.of(2L, 0L, "APPEND"));
+
+        // check ordered snapshots.
+        assertThat(result).containsSequence(Row.of(1L, 0L, "APPEND"), 
Row.of(2L, 0L, "APPEND"));

Review Comment:
   Got, `containsExactly` check the correctness and order, thanks.



-- 
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