skytin1004 commented on code in PR #7957:
URL: https://github.com/apache/iceberg/pull/7957#discussion_r1250533278


##########
aws/src/test/java/org/apache/iceberg/aws/glue/TestGlueCatalog.java:
##########
@@ -602,17 +601,18 @@ public void testTablePropsDefinedAtCatalogLevel() {
         null,
         catalogProps);
     Map<String, String> properties = glueCatalog.properties();
-    Assert.assertFalse(properties.isEmpty());
-    Assert.assertTrue(properties.containsKey("table-default.key1"));
-    Assert.assertEquals("catalog-default-key1", 
properties.get("table-default.key1"));
-    Assert.assertTrue(properties.containsKey("table-default.key2"));
-    Assert.assertEquals("catalog-default-key2", 
properties.get("table-default.key2"));
-    Assert.assertTrue(properties.containsKey("table-default.key3"));
-    Assert.assertEquals("catalog-default-key3", 
properties.get("table-default.key3"));
-    Assert.assertTrue(properties.containsKey("table-override.key3"));
-    Assert.assertEquals("catalog-override-key3", 
properties.get("table-override.key3"));
-    Assert.assertTrue(properties.containsKey("table-override.key4"));
-    Assert.assertEquals("catalog-override-key4", 
properties.get("table-override.key4"));
+    Assertions.assertThat(properties)
+        .isNotEmpty()
+        .containsKey("table-default.key1")

Review Comment:
   I've omit all the containsKey



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

Reply via email to