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

periodic_runner_impl_test should manually call tearDown

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 3.6.8, 4.0.3, 4.1.3
    • Affects Version/s: None
    • Component/s: Internal Code
    • None
    • Fully Compatible
    • ALL
    • v4.0, v3.6
    • Platforms 2018-08-27, Platforms 2018-09-10
    • 22

      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

            Assignee:
            mira.carey@mongodb.com Mira Carey
            Reporter:
            mira.carey@mongodb.com Mira Carey
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: