Start the signal processing thread in unittests

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Won't Do
    • 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
    • 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:
              Ronald Steinke
              Reporter:
              Brad Cater
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: