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

TaskExecutor test fixture should expose shutdown/joining of task executor outside of tearDown()

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Done
    • Icon: Minor - P4 Minor - P4
    • 3.3.10
    • None
    • Replication
    • None
    • Fully Compatible
    • Repl 17 (07/15/16)
    • 0

    Description

      TaskExecutor::tearDown() currently does the following to the task executor

      • shuts down
      • join
      • releases memory resources for the executor

      It would be desirable to split up and expose these functions to tests that use this fixture to allow more control over the teardown of the tests.

      Attachments

        Activity

          People

            benety.goh@mongodb.com Benety Goh
            benety.goh@mongodb.com Benety Goh
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: