lschetanrao commented on code in PR #9241:
URL: https://github.com/apache/iceberg/pull/9241#discussion_r1420849913
##########
mr/src/test/java/org/apache/iceberg/mr/TestCatalogs.java:
##########
@@ -176,8 +178,10 @@ public void testCreateDropTableToCatalog() throws
IOException {
HadoopCatalog catalog = new CustomHadoopCatalog(conf, warehouseLocation);
Table table = catalog.loadTable(identifier);
- Assert.assertEquals(SchemaParser.toJson(SCHEMA),
SchemaParser.toJson(table.schema()));
- Assert.assertEquals(PartitionSpecParser.toJson(SPEC),
PartitionSpecParser.toJson(table.spec()));
+ Assertions.assertThat(SchemaParser.toJson(table.schema()))
+ .isEqualTo(SchemaParser.toJson(SCHEMA));
+ Assertions.assertThat(PartitionSpecParser.toJson(table.spec()))
Review Comment:
Got it. Fixed this by doing static import in all changed files.
--
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]