Start the signal processing thread in unittests

XMLWordPrintableJSON

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

      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
            Reporter:
            Brad Cater
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: