Uploaded image for project: 'Jackrabbit Oak'
  1. Jackrabbit Oak
  2. OAK-1335

version history related test failures

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.17
    • jcr
    • None

    Description

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

      Attachments

        1. log
          98 kB
          Julian Reschke
        2. OAK-1335.diff
          4 kB
          Julian Reschke

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            reschke Julian Reschke
            reschke Julian Reschke
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment