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

periodic_runner_impl_test should manually call tearDown

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.6.8, 4.0.3, 4.1.3
    • Component/s: Internal Code
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Backport Requested:
      v4.0, v3.6
    • Sprint:
      Platforms 2018-08-27, Platforms 2018-09-10
    • Linked BF Score:
      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

            Assignee:
            jason.carey Jason Carey
            Reporter:
            jason.carey Jason Carey
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: