Marcel Reutegger created OAK-1663:
-------------------------------------

             Summary: Long running RevisionTest
                 Key: OAK-1663
                 URL: https://issues.apache.org/jira/browse/OAK-1663
             Project: Jackrabbit Oak
          Issue Type: Bug
          Components: core
            Reporter: Marcel Reutegger


The RevisionTest runs for a very long time:

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

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.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to