deniskuzZ commented on code in PR #5870:
URL: https://github.com/apache/hive/pull/5870#discussion_r2146967298


##########
standalone-metastore/metastore-rest-catalog/src/test/java/org/apache/iceberg/rest/TestHMSCatalogAuthNone.java:
##########
@@ -36,45 +39,41 @@
 import org.apache.iceberg.rest.requests.CreateTableRequest;
 import org.apache.iceberg.rest.requests.RenameTableRequest;
 import org.apache.iceberg.types.Types;
-import static org.apache.iceberg.types.Types.NestedField.required;
 import org.junit.After;
 import org.junit.Assert;
 import org.junit.Before;
 import org.junit.Test;
 
-public class TestHMSCatalog extends HMSTestBase {
-  public TestHMSCatalog() {
-    super();
-  }
-  
+public class TestHMSCatalogAuthNone extends HMSTestBase {
   @Before
   @Override
   public void setUp() throws Exception {
-      super.setUp();
+    conf = MetastoreConf.newMetastoreConf();
+    MetastoreConf.setVar(conf, 
MetastoreConf.ConfVars.ICEBERG_CATALOG_SERVLET_AUTH, "none");
+    super.setUp();
   }
-  
+
   @After
   @Override
   public void tearDown() throws Exception {
-      super.tearDown();
+    super.tearDown();

Review Comment:
   same, no need to override



-- 
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: gitbox-unsubscr...@hive.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: gitbox-unsubscr...@hive.apache.org
For additional commands, e-mail: gitbox-h...@hive.apache.org

Reply via email to