Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-16036

Race condition in SolrJmxReporterTest.testClosedCore

    XMLWordPrintableJSON

Details

    • Test
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 9.0
    • JMX, Tests
    • None

    Description

      https://jenkins.thetaphi.de/view/Solr/job/Solr-main-MacOSX/666/testReport/org.apache.solr.metrics.reporters/SolrJmxReporterTest/testClosedCore/

       

      There's a race condition in our test where the core can be unloaded, causing the MBean to deregister before the loop has been instructed to stop checking. It doesn't reproduce for me at all locally, so I can't verify this, but that's my best guess from visual inspection.

      Attachments

        Issue Links

          Activity

            People

              mdrob Mike Drob
              mdrob Mike Drob
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m