nastra commented on code in PR #8918: URL: https://github.com/apache/iceberg/pull/8918#discussion_r1375077284
########## hive-metastore/src/test/java/org/apache/iceberg/hive/TestHiveCatalog.java: ########## @@ -850,51 +857,46 @@ private void removeNamespaceOwnershipAndVerify( createNamespaceAndVerifyOwnership( name, propToCreate, expectedOwnerPostCreate, expectedOwnerTypePostCreate); - catalog.removeProperties(Namespace.of(name), propToRemove); + catalog().removeProperties(Namespace.of(name), propToRemove); - Database database = metastoreClient.getDatabase(name); + Database database = hiveMetastoreSetup.metastoreClient.getDatabase(name); assertThat(database.getOwnerName()).isEqualTo(expectedOwnerPostRemove); assertThat(database.getOwnerType()).isEqualTo(expectedOwnerTypePostRemove); } @Test - public void testDropNamespace() throws TException { + public void testDropEmptyNamespace() throws TException { Review Comment: can we please leave refactorings out of this PR? This file should only have a minimal set of changes (by adding the setup/teardown stuff) -- 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