jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alfusainey Jallow (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (JCR-3995) occasional test failure in AccessControlManagerImplTest.testAddingFourAccessControlEntries()
Date Thu, 08 Dec 2016 22:47:00 GMT

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

Alfusainey Jallow commented on JCR-3995:
----------------------------------------

i tried to reproduce it at my end but did not succeed. have a look at this patch and test
with this and see. i try to now focus the removal on only the affected test case. its a temporal
fix -> will investigate further.

> 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
>             Fix For: 2.13.6, 2.14
>
>         Attachments: JCR-3995-new.patch, 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)

Mime
View raw message