Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-36725

periodic_runner_impl_test should manually call tearDown

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 3.6.8, 4.0.3, 4.1.3
    • Internal Code
    • None
    • Fully Compatible
    • ALL
    • v4.0, v3.6
    • Platforms 2018-08-27, Platforms 2018-09-10
    • 22

    Description

      The periodic_runner_impl_test holds references to stack allocated condvars in every one of its tests. All of them have a chance to data race (destruction and job invocation, or the end of job invocation).

      Manually calling tearDown in all cases fixes those races

      Attachments

        Activity

          People

            jason.carey@mongodb.com Jason Carey
            jason.carey@mongodb.com Jason Carey
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: