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

Andrew Purtell commented on HBASE-10239:
----------------------------------------

Thanks for the +1 Ram I will commit this a bit later. 

verifyAllowed checks that no exception is thrown and if and only if there is a 
result collection object it should also not be empty. verifyDenied checks that 
either an ADE is thrown or if and only if there is a result collection object 
it should be empty. 

> Improve determinism and debugability of TestAccessController
> ------------------------------------------------------------
>
>                 Key: HBASE-10239
>                 URL: https://issues.apache.org/jira/browse/HBASE-10239
>             Project: HBase
>          Issue Type: Improvement
>    Affects Versions: 0.98.0, 0.99.0
>            Reporter: Andrew Purtell
>            Assignee: Andrew Purtell
>             Fix For: 0.98.0, 0.99.0
>
>         Attachments: 10239.patch, wip-10239.patch
>
>
> Separate grant and revoke API invocations to static helper methods in 
> SecureTestUtils. Wait for permissions cache updates using a Predicate. Log 
> the API calls, state checks, and waits. 



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to