jackrabbit-oak-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marcel Reutegger (JIRA)" <j...@apache.org>
Subject [jira] [Created] (OAK-416) TokenInfoTest and TokenProviderImplTest occasionally fail
Date Thu, 01 Nov 2012 14:03:12 GMT
Marcel Reutegger created OAK-416:
------------------------------------

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


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

Mime
View raw message