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

Audit and fix _forTest code outside of test code

    • Type: Icon: Task Task
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Server Programmability
    • Fully Compatible
    • Programmability 2025-03-31, Programmability 2025-04-14
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      We should only call _forTest(s) functions from other _forTest(s) functions and from files with _test[._] or _mock[._] in their name. We should probably treat everything in the unittests namespace similarly.

            Assignee:
            ronald.steinke@mongodb.com Ronald Steinke
            Reporter:
            mathias@mongodb.com Mathias Stearn
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved:
              None
              None
              None
              None