-
Type:
Task
-
Resolution: Done
-
Priority:
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.
- related to
-
SERVER-102074 Fix calling _forTest method from production code
-
- Open
-
-
SERVER-102399 ServiceContext::unsetKillAllOperations should be marked as _forTest or removed
-
- Open
-
-
SERVER-103044 Fix usage of test-only code from bgsync.cpp
-
- Open
-
-
SERVER-103045 Fix usage of test-only code in scripting/mozjs/mongo.cpp
-
- Needs Scheduling
-