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

setMinimumLoggedSeverity in unittest/log_test.h needs to get cleaned up

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.7.0
    • Affects Version/s: None
    • Component/s: Logging
    • None
    • Fully Compatible
    • Service arch 2020-04-20

      when using setMinimumLoggedSeverity in unittests, the value doesn't get reset after the test and could effect subsequent test. A possible solution would be to return a sort of an ON_BLOCK_EXIT clean up function that would reset the value at the end of the test.

            Assignee:
            billy.donahue@mongodb.com Billy Donahue
            Reporter:
            gabriel.russell@mongodb.com Gabriel Russell (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: