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


##########
spark/v3.5/spark-extensions/src/test/java/org/apache/iceberg/spark/extensions/TestSnapshotTableProcedure.java:
##########
@@ -183,14 +183,15 @@ public void testSnapshotWithConflictingProps() throws 
IOException {
 
     Table table = validationCatalog.loadTable(tableIdent);
     Map<String, String> props = table.properties();
-    Assert.assertEquals("Should override user value", "true", 
props.get("snapshot"));
-    Assert.assertEquals(
-        "Should override user value", "false", 
props.get(TableProperties.GC_ENABLED));
+    assertThat(props.get("snapshot")).as("Should override user 
value").isEqualTo("true");
+    assertThat(props.get(TableProperties.GC_ENABLED))

Review Comment:
   this should also use `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