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

AsyncIndexUpdateCorruptMarkingTest#testLuceneIndexSegmentStats is flaky due to race condition

    XMLWordPrintableJSON

    Details

    • Type: Test
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.16.0
    • Component/s: lucene
    • Labels:
      None

      Description

      AsyncIndexUpdateCorruptMarkingTest#testLuceneIndexSegmentStats fails sometimes when the system testing it is under a bit of load.

      While simple fix could have been to simply make sure content creation is indeed committed and root state refreshed before asserting.

      But, using this chance to simplify the test as well.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: