vamsikarnika commented on code in PR #13384:
URL: https://github.com/apache/hudi/pull/13384#discussion_r2127303554


##########
hudi-client/hudi-java-client/src/test/java/org/apache/hudi/testutils/HoodieJavaClientTestHarness.java:
##########
@@ -341,7 +341,9 @@ public void validateMetadata(HoodieTestTable testTable, 
List<String> inflightCom
             .collect(Collectors.toList());
     Map<String, List<StoragePathInfo>> partitionToFilesMap =
         tableMetadata.getAllFilesInPartitions(fullPartitionPaths);
-    assertEquals(fsPartitions.size(), partitionToFilesMap.size());

Review Comment:
   partitionToFilesMap will be empty with this changes where we delete all the 
files in a partition, so we should rely on getAllPartitions api to get the 
partitions. 



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