nastra commented on code in PR #9994: URL: https://github.com/apache/iceberg/pull/9994#discussion_r1531667791
########## core/src/test/java/org/apache/iceberg/TestFastAppend.java: ########## @@ -360,32 +342,20 @@ public void testAppendManifestWithSnapshotIdInheritance() throws IOException { statuses(Status.ADDED, Status.ADDED)); // validate that the metadata summary is correct when using appendManifest - Assert.assertEquals( - "Summary metadata should include 2 added files", - "2", - snapshot.summary().get("added-data-files")); - Assert.assertEquals( - "Summary metadata should include 2 added records", - "2", - snapshot.summary().get("added-records")); - Assert.assertEquals( - "Summary metadata should include 2 files in total", - "2", - snapshot.summary().get("total-data-files")); - Assert.assertEquals( - "Summary metadata should include 2 records in total", - "2", - snapshot.summary().get("total-records")); + assertThat(snapshot.summary().get("added-data-files")).isEqualTo("2"); Review Comment: containsEntry for all of these should be used -- 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: issues-unsubscr...@iceberg.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org For additional commands, e-mail: issues-h...@iceberg.apache.org