We currently use enableTestCommands to enable diagnostic work and loosened permissions. This has an unfortunate side effect where sys-perf notices our non-production diagnostics. The path of least impact is an additional flag that enables "passive" testing behavior in addition to the "active" test commands.
Note to server developers: moving forward, the new API for testing diagnostics (i.e., TestingProctor) must be used for any passive testing and diagnostics work (e.g., see latch analyzer for reference). Test commands (i.e., getTestCommandsEnabled) should only be used for registering test commands and anything related to the execution of test commands and fail-points. This enables separately controlling test commands and testing diagnostics.
- causes
-
SERVER-51122 [v4.4] The snapshot window code must use TestingProctor consistently and not getTestCommandsEnabled
- Closed
- has to be done before
-
SERVER-48202 Test printStackTrace on initialization
- Backlog
-
SERVER-48645 Remove versioning constraints on testing diagnostics
- Closed
- related to
-
SERVER-48708 Complete TODO listed in SERVER-46726
- Closed