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