hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matteo Bertozzi (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HBASE-8122) TestAccessController depends on the execution order
Date Fri, 15 Mar 2013 12:08:13 GMT
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.
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)

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

View raw message