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

Marcel Reutegger commented on OAK-1365:
---------------------------------------

I think the test should only verify that the timestamps of two revisions are 
different when it is guaranteed they are different. On some systems 
System.currentTimeMillis() will return the same value even after a 
Thread.sleep(2).

See also JCR-3710 for a similar issue with a test.

> RevisionTest.difference() fails occasionally
> --------------------------------------------
>
>                 Key: OAK-1365
>                 URL: https://issues.apache.org/jira/browse/OAK-1365
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: core
>            Reporter: Marcel Reutegger
>            Priority: Minor
>
> As reported on the dev list, the test fails occasionally.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to