You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Matteo Bertozzi (JIRA)" <ji...@apache.org> on 2013/03/15 13:08:13 UTC

[jira] [Created] (HBASE-8122) TestAccessController depends on the execution order

Matteo Bertozzi created HBASE-8122:
--------------------------------------

             Summary: TestAccessController depends on the execution order
                 Key: HBASE-8122
                 URL: https://issues.apache.org/jira/browse/HBASE-8122
             Project: HBase
          Issue Type: Bug
          Components: security, test
    Affects Versions: 0.94.5, 0.95.0
            Reporter: Matteo Bertozzi
            Assignee: Matteo Bertozzi
         Attachments: HBASE-8122-v0.patch

If testGrantRevoke() runs before testRead() you end up with, since testGrantRevoke() revokes the read right for the rouser.
{code}
testRead(org.apache.hadoop.hbase.security.access.TestAccessController)  Time elapsed: 5.992 sec  <<< FAILURE!
java.lang.AssertionError: Expected action to pass for user 'rouser' but was denied
        at org.junit.Assert.fail(Assert.java:88)
        at org.apache.hadoop.hbase.security.access.TestAccessController.verifyAllowed(TestAccessController.java:204)
        at org.apache.hadoop.hbase.security.access.TestAccessController.verifyAllowed(TestAccessController.java:211)
        at org.apache.hadoop.hbase.security.access.TestAccessController.verifyRead(TestAccessController.java:600)
        at org.apache.hadoop.hbase.security.access.TestAccessController.testRead(TestAccessController.java:627)
{code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira