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

Improve ObservationQueueFullWarnTest.testQueueFullThenFlushing to not sleep arbitrarily when not required

    XMLWordPrintableJSON

Details

    • Test
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 1.7.10, 1.8.0
    • jcr
    • None

    Description

      Due to OAK-6639, ObservationQueueFullWarnTest.testQueueFullThenFlushing now has a hard-coded sleep to let the test pass on systems which are unable to process init message on observation soon enough.

      As proposed there, we should avoid hard-coded sleep and simply wait for our-own-init message for some time - faster system would get it faster, slower systems can wait for it a bit more.

      Attachments

        Issue Links

          Activity

            People

              catholicon Vikas Saurabh
              catholicon Vikas Saurabh
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: