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

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

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 4.7.0
    • None
    • Logging
    • None
    • Fully Compatible
    • Service arch 2020-04-20

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: