hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ashish Singhi (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HBASE-13246) Correct the assertion for namespace permissions in tearDown method of TestAccessController
Date Sun, 15 Mar 2015 07:30:39 GMT
Ashish Singhi created HBASE-13246:
-------------------------------------

             Summary: Correct the assertion for namespace permissions in tearDown method of
TestAccessController
                 Key: HBASE-13246
                 URL: https://issues.apache.org/jira/browse/HBASE-13246
             Project: HBase
          Issue Type: Bug
          Components: security, test
    Affects Versions: 0.98.11
            Reporter: Ashish Singhi
            Assignee: Ashish Singhi
            Priority: Minor


In *TestAcessController#tearDown* we should use {{TEST_TABLE.getNamespaceAsString()}} instead
of {{TEST_TABLE.getNameAsString()}} as the assertion is for namespace.
{code}
assertEquals(0, AccessControlLists.getNamespacePermissions(conf, TEST_TABLE.getTableName().getNamespaceAsString()).size());
{code}

Some credit goes to [~srikanth235] to indirectly point this out [here|https://issues.apache.org/jira/browse/HBASE-13241?focusedCommentId=14361995&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-14361995]



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message