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

Long running RevisionTest

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.20
    • core
    • None

    Description

      The RevisionTest runs for a very long time:

      Running org.apache.jackrabbit.oak.plugins.document.RevisionTest
      Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 349.675 sec
      

      Most of the time is spent in the do/while loop in difference() until the current timestamp changes.

      I suspect this is caused by the new LastRevSingleNodeRecoveryTest, which sets a Clock.Virtual on the Revision. The test unsets the clock after the test, but the current value of Revision#lastTimestamp remains. Probably a value from the virtual clock.

      Attachments

        Activity

          People

            mreutegg Marcel Reutegger
            mreutegg Marcel Reutegger
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: