You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@iceberg.apache.org by "skytin1004 (via GitHub)" <gi...@apache.org> on 2023/07/03 09:11:21 UTC
[GitHub] [iceberg] skytin1004 commented on a diff in pull request #7957: AWS: Switch tests to Junit5
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: issues-unsubscribe@iceberg.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org