You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Sai Hemanth Gantasala (Jira)" <ji...@apache.org> on 2020/09/03 17:34:00 UTC

[jira] [Created] (HIVE-24118) Remove the unnecessary try/catch blocks in the TestHiveMetaStoreAuthorizer

Sai Hemanth Gantasala created HIVE-24118:
--------------------------------------------

             Summary: Remove the unnecessary try/catch blocks in the TestHiveMetaStoreAuthorizer
                 Key: HIVE-24118
                 URL: https://issues.apache.org/jira/browse/HIVE-24118
             Project: Hive
          Issue Type: Bug
            Reporter: Sai Hemanth Gantasala
            Assignee: Sai Hemanth Gantasala


The catch-all exception in a lot of test cases in TestHiveMetaStoreAuthorizer is not good and can give false positive (eg. testD_CreateView_SuperUser), since the test will pass in case there is a MetaException thrown. The test added will pass without code modifications in the HiveMetastoreAuthorizer as well and hence it is not really a good regression test. Would be good to fix them up as well.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)