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

Marcel Reutegger resolved OAK-416.
----------------------------------

       Resolution: Fixed
    Fix Version/s: 0.6

Fixed in revision: 1404602
                
> TokenInfoTest and TokenProviderImplTest occasionally fail
> ---------------------------------------------------------
>
>                 Key: OAK-416
>                 URL: https://issues.apache.org/jira/browse/OAK-416
>             Project: Jackrabbit Oak
>          Issue Type: Test
>          Components: core
>    Affects Versions: 0.5
>            Reporter: Marcel Reutegger
>            Assignee: Marcel Reutegger
>            Priority: Minor
>             Fix For: 0.6
>
>
> TokenInfoTest and TokenProviderImplTest occasionally fail because the tests 
> check for expiration with exactly the default expiration timeout of 2 hours 
> (7200000 ms). On some systems (like Windows) the system time resolution is 
> not down to a single millisecond. This means, it may happen that loginTime + 
> 2 hours equals exactly the expiration time and isExpired() will therefore 
> returns false.

--
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

Reply via email to