hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-13246) Correct the assertion for namespace permissions in tearDown method of TestAccessController
Date Mon, 16 Mar 2015 15:34:41 GMT

    [ https://issues.apache.org/jira/browse/HBASE-13246?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14363354#comment-14363354
] 

Hudson commented on HBASE-13246:
--------------------------------

SUCCESS: Integrated in HBase-TRUNK #6264 (See [https://builds.apache.org/job/HBase-TRUNK/6264/])
HBASE-13246 Correct the assertion for namespace permissions in tearDown method of TestAccessController
(Ashish Singhi) (tedyu: rev 76ba53004b3760c6c3d1a51dc000205fd68f1d53)
* hbase-server/src/test/java/org/apache/hadoop/hbase/security/access/TestAccessController.java


> 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: 1.0.0
>            Reporter: Ashish Singhi
>            Assignee: Ashish Singhi
>            Priority: Minor
>             Fix For: 2.0.0, 1.0.1, 1.1.0
>
>         Attachments: HBASE-13246-branch-1.patch, HBASE-13246.patch
>
>
> 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