vinishjail97 commented on code in PR #662:
URL: https://github.com/apache/incubator-xtable/pull/662#discussion_r1984112331


##########
xtable-core/src/test/java/org/apache/xtable/hudi/TestBaseFileUpdatesExtractor.java:
##########
@@ -135,7 +136,7 @@ void convertDiff() {
     expectedPartitionToReplacedFileIds.put(
         partitionPath1, Arrays.asList(fileName3, fileIdForFile4));
     expectedPartitionToReplacedFileIds.put(partitionPath2, 
Collections.singletonList(fileName5));
-    assertEquals(
+    assertEqualsIgnoreOrder(
         expectedPartitionToReplacedFileIds, 
replaceMetadata.getPartitionToReplacedFileIds());

Review Comment:
   This can be simplified to ? 
   `assertEquals(new HashSet<>(expectedPartitionToReplacedFileIds), new 
HashSet<>(replaceMetadata.getPartitionToReplacedFileIds())) `



-- 
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: commits-unsubscr...@xtable.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to