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

Join all thread in PinnedConnectionTaskExecutorTest tear-down

    • Type: Icon: Bug Bug
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Networking & Observability
    • ALL
    • 0

      Users of this unittest-fixture and all of its descendents should ensure as part of teardown/destruction all threads it spawned are joined, in particular the PinnedConnectionTaskExecutor threads. If these threads out-live the execution of the unittest, through PinnedConnectionTaskExecutorTest they may try and access the fixture, which will be destroyed after the unittest finishes.

       

      The PinnedConnectionTaskExecutor tests themselves do this. But the mongot_cursor_test and task_executor_cursor_tests need to either have the fixture handle this for them. 

            Assignee:
            Unassigned Unassigned
            Reporter:
            george.wangensteen@mongodb.com George Wangensteen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: