[ https://issues.apache.org/jira/browse/OAK-1335?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13904362#comment-13904362 ]
Julian Reschke commented on OAK-1335: ------------------------------------- It seems that the test failures are caused by VersionHistoryDelegate's attempt to use a SortedMap where the created time is the key. This will fail when two versions happen to have the same timestamp. > 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 > Fix For: 0.17 > > 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)