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

Start the signal processing thread in unittests

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Server Programmability
    • SP Prioritized List

      This is started in mongod_main.cpp when the server is running. It should be started by the unittest framework, too, with an opt-out for tests that want to control threads in some other way. signal_handlers_test, for example, fails if the thread is started.

       The existing hack to make this work in unittests one-by-one is to call startSignalProcessingThread() (example).

            Assignee:
            Unassigned Unassigned
            Reporter:
            brad.cater@mongodb.com Brad Cater
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: