nastra commented on code in PR #9994:
URL: https://github.com/apache/iceberg/pull/9994#discussion_r1531694296


##########
core/src/test/java/org/apache/iceberg/TestMergeAppend.java:
##########
@@ -1135,33 +1071,21 @@ 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



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

Reply via email to