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

Too fast timeout in MicroKernelIT.waitForCommit

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.4
    • None
    • None

    Description

      There was a test failure at org.apache.jackrabbit.mk.test.MicroKernelIT.waitForCommit(MicroKernelIT.java:298) due to the small timeout of 100ms that in this case wasn't long enough to allow for a background thread to start and wait for an extra 50ms.

      We should adjust the test to use a longer timeout (at least 1000ms) for cases where it may need to wait for a long while, and a short one when there should be no wait.

      Attachments

        Activity

          People

            jukkaz Jukka Zitting
            jukkaz Jukka Zitting
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: