[
https://issues.apache.org/jira/browse/HBASE-10239?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13858280#comment-13858280
]
Andrew Purtell commented on HBASE-10239:
----------------------------------------
If you want verifyAllowed to fail, then you need to return an empty list or
throw an AccessDeniedException.
> 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)