You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Alfusainey Jallow (JIRA)" <ji...@apache.org> on 2016/12/08 11:16:59 UTC
[jira] [Commented] (JCR-3995) occasional test failure in
AccessControlManagerImplTest.testAddingFourAccessControlEntries()
[ https://issues.apache.org/jira/browse/JCR-3995?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15731887#comment-15731887 ]
Alfusainey Jallow commented on JCR-3995:
----------------------------------------
[~reschke] kindly look at the attached patch. the build (mvn clean install -PintegrationTesting) passes on my side. this time, i try to remove all policies persisted at the testRoot node after the execution of every test unit.
> occasional test failure in AccessControlManagerImplTest.testAddingFourAccessControlEntries()
> --------------------------------------------------------------------------------------------
>
> Key: JCR-3995
> URL: https://issues.apache.org/jira/browse/JCR-3995
> Project: Jackrabbit Content Repository
> Issue Type: Bug
> Components: jackrabbit-webdav
> Affects Versions: 2.13.0
> Reporter: Julian Reschke
> Priority: Minor
> Attachments: JCR-3995.patch
>
>
> Need to run with {{-PintegrationTesting}}, seen in jackrabbit-jcr2dav:
> {noformat}
> testAddingFourAccessControlEntries(org.apache.jackrabbit.jcr2spi.security.authorization.jackrabbit.acl.AccessControlManagerImplTest) Time elapsed: 0.084 sec <<< FAILURE!
> junit.framework.AssertionFailedError: expected:<4> but was:<5>
> at junit.framework.Assert.fail(Assert.java:50)
> at junit.framework.Assert.failNotEquals(Assert.java:287)
> at junit.framework.Assert.assertEquals(Assert.java:67)
> at junit.framework.Assert.assertEquals(Assert.java:134)
> at junit.framework.Assert.assertEquals(Assert.java:140)
> at org.apache.jackrabbit.jcr2spi.security.authorization.jackrabbit.acl.AccessControlManagerImplTest.testAddingFourAccessControlEntries(AccessControlManagerImplTest.java:159)
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)