Appy created HBASE-18944:
----------------------------

             Summary: FIx bad patterns in TestAccessController
                 Key: HBASE-18944
                 URL: https://issues.apache.org/jira/browse/HBASE-18944
             Project: HBase
          Issue Type: Bug
            Reporter: Appy
            Assignee: Appy


1. Looking into the pattern used in TestAccessController & 
TestWithDisabledAuthorization, i think we can improve it by invoking hooks via 
CpHosts instead of digging into CP framework's internals.
2. There is something very wrong with TestAccessController. Individual tests 
are not completely isolated. We have TEST_TABLE which was supposed to be a 
"constant" for use in basic tests and had a fixed set of perms in 
setupBeforeClass. However, now some these are changing perms on it. Which has a 
big possibility of testing bugs. I won't be surprised if things start breaking 
when we untangle this.
Let me file separate jira for that

ref: 
https://issues.apache.org/jira/browse/HBASE-18931?focusedCommentId=16192303&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-16192303





--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to