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

Julian Reschke commented on OAK-1335:
-------------------------------------

Discussed with [~mreutegg]: probably caused by DateVersionSelector picking the 
wrong version when timestamps do not differ. Workaround in classic Jackrabbit 
was by tuning the creation date generation to always return a new timestamp no 
matter what the system time said.

> version history related test failures
> -------------------------------------
>
>                 Key: OAK-1335
>                 URL: https://issues.apache.org/jira/browse/OAK-1335
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: jcr
>            Reporter: Julian Reschke
>         Attachments: log
>
>
> ...when running the integrationTesting profile:
> Failed tests:   
> testInitialNumberOfVersions(org.apache.jackrabbit.test.api.version.VersionHistoryTest):
>  VersionHistory.getAllVersions() initially returns an iterator with two 
> versions. expected:<2> but was:<1>
>   
> testInitialNumberOfLinearVersions(org.apache.jackrabbit.test.api.version.VersionHistoryTest):
>  VersionHistory.getAllVersions() and .getAllLinearVersions should return the 
> same number of versions for a purely linear version history. expected:<1> but 
> was:<2>
>   
> testGetAllVersions(org.apache.jackrabbit.test.api.version.VersionHistoryTest):
>  VersionHistory.getAllVersions() must contain the root version and all 
> versions that have been created with a Node.checkin() call.
>   
> testGetAllVersionsJcr2(org.apache.jackrabbit.test.api.version.VersionHistoryTest):
>  VersionHistory.getAllVersions() must contain the root version and all 
> versions that have been created with a Node.checkin() call.
>   
> testCheckinCreatesNewVersionJcr2(org.apache.jackrabbit.test.api.version.CheckinTest):
>  Checkin must create a new Version in the VersionHistory.
>   testRestoreNameJcr2(org.apache.jackrabbit.test.api.version.RestoreTest): 
> restore must restore child node version 1.0. expected:<1.[0]> but was:<1.[1]>



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

Reply via email to