skytin1004 commented on code in PR #7861:
URL: https://github.com/apache/iceberg/pull/7861#discussion_r1238264745
##########
core/src/test/java/org/apache/iceberg/hadoop/TestCatalogUtilDropTable.java:
##########
@@ -124,8 +131,12 @@ public void shouldNotDropDataFilesIfGcNotEnabled() {
Set<String> manifestListLocations = manifestListLocations(snapshotSet);
Set<String> manifestLocations = manifestLocations(snapshotSet, table.io());
Set<String> metadataLocations = metadataLocations(tableMetadata);
- Assert.assertEquals("should have 2 manifest lists", 2,
manifestListLocations.size());
- Assert.assertEquals("should have 4 metadata locations", 4,
metadataLocations.size());
+ Assertions.assertThat(manifestListLocations.size())
+ .as("should have 2 manifest lists")
+ .isEqualTo(2);
+ Assertions.assertThat(metadataLocations.size())
+ .as("should have 4 metadata locations")
+ .isEqualTo(4);
Review Comment:
I've modified that code based on your review.
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]