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

[jira] [Commented] (HBASE-8118) TestTablePermission depends on the execution order

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

Andrew Purtell commented on HBASE-8118:
---------------------------------------

+1
                
> TestTablePermission depends on the execution order
> --------------------------------------------------
>
>                 Key: HBASE-8118
>                 URL: https://issues.apache.org/jira/browse/HBASE-8118
>             Project: HBase
>          Issue Type: Bug
>          Components: test
>    Affects Versions: 0.95.0, 0.94.5
>            Reporter: Matteo Bertozzi
>            Assignee: Matteo Bertozzi
>         Attachments: HBASE-8118-v0.patch
>
>
> All the tests changes the _acl_ table but they don't clear the state.
> If testGlobalPermission() runs before testBasicWrite() you end up with
> {code}
> java.lang.AssertionError: Full permission map should have entries for both test tables expected:<2> but was:<3>
> 	at org.junit.Assert.fail(Assert.java:93)
> 	at org.junit.Assert.failNotEquals(Assert.java:647)
> 	at org.junit.Assert.assertEquals(Assert.java:128)
> 	at org.junit.Assert.assertEquals(Assert.java:472)
> 	at org.apache.hadoop.hbase.security.access.TestTablePermissions.testBasicWrite(TestTablePermissions.java:181)
> {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