hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Srikanth Srungarapu (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-13562) Expand AC testing coverage to include all combinations of scope and permissions.
Date Sun, 10 May 2015 10:15:00 GMT

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

Srikanth Srungarapu commented on HBASE-13562:
---------------------------------------------

Brief synopsis of the patch:
* Earlier, we had 56 tests in {{TestAccessController}} and 7 tests in {{TestNamespaceCommands}}.

** This patch splits {{TestAccessController}} into two tests {{TestAccessControllerMasterAndRSOps}}
and {{TestAccessControllerNonMasterAndRSOps}} and merges the tests in {{TestNamespaceCommands}}
into either of these two tests. 
** With the patch, there will be 31 tests in each of these new tests. The one test that got
deleted is testCreateTableWithNamespace, which is already being covered in {{TestAccessControllerMasterAndRSOps}}
* Also, renamed {{TestAccessController2}} to {{TestAccessControllerMisc}}.
* Introduced a new utility helper method _verifyAllowedIfAndOnlyIf_
* Other sundry improvements.


> Expand AC testing coverage to include all combinations of scope and permissions.
> --------------------------------------------------------------------------------
>
>                 Key: HBASE-13562
>                 URL: https://issues.apache.org/jira/browse/HBASE-13562
>             Project: HBase
>          Issue Type: Improvement
>            Reporter: Srikanth Srungarapu
>            Assignee: Ashish Singhi
>         Attachments: HBASE-13562-v1.patch, HBASE-13562-v2.patch, HBASE-13562.patch, HBASE-13562_v2.patch,
sample.patch
>
>
> As of now, the tests in TestAccessController and TestAccessController2 doesn't cover
all the combinations of Scope and Permissions. Ideally, we should have testing coverage for
the entire [ACL matrix|https://hbase.apache.org/book/appendix_acl_matrix.html].



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

Mime
View raw message