You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Alex Deparvu (JIRA)" <ji...@apache.org> on 2017/12/08 08:37:00 UTC

[jira] [Resolved] (OAK-6982) Test failure: TokenCleanupTest.testAllExpiredReachingThreshold

     [ https://issues.apache.org/jira/browse/OAK-6982?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alex Deparvu resolved OAK-6982.
-------------------------------
    Resolution: Fixed

fixed with http://svn.apache.org/viewvc?rev=1817475&view=rev

the issue was in the test setup. cleanup could have been triggered on the creation of the initial 5 nodes, and this would mess with the result: the final number would always be one extra.

> Test failure: TokenCleanupTest.testAllExpiredReachingThreshold
> --------------------------------------------------------------
>
>                 Key: OAK-6982
>                 URL: https://issues.apache.org/jira/browse/OAK-6982
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: continuous integration, security
>            Reporter: Hudson
>            Assignee: Alex Deparvu
>             Fix For: 1.7.13, 1.8
>
>
> No description is provided
> The build Jackrabbit Oak #1009 has failed.
> First failed run: [Jackrabbit Oak #1009|https://builds.apache.org/job/Jackrabbit%20Oak/1009/] [console log|https://builds.apache.org/job/Jackrabbit%20Oak/1009/console]
> {noformat}
> [ERROR] testAllExpiredReachingThreshold(org.apache.jackrabbit.oak.security.authentication.token.TokenCleanupTest)  Time elapsed: 0.091 s  <<< FAILURE!
> java.lang.AssertionError: expected:<1> but was:<2>
> 	at org.apache.jackrabbit.oak.security.authentication.token.TokenCleanupTest.assertTokenNodes(TokenCleanupTest.java:48)
> 	at org.apache.jackrabbit.oak.security.authentication.token.TokenCleanupTest.testAllExpiredReachingThreshold(TokenCleanupTest.java:89)
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)