[SERVER-61647] tassert should only print stack traces when testing diagnostics are enabled Created: 19/Nov/21  Updated: 06/Dec/22

Status: Backlog
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Major - P3
Reporter: Andy Schwerin Assignee: Backlog - Service Architecture
Resolution: Unresolved Votes: 0
Labels: sa-remove-fv-backlog-22
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Assigned Teams:
Service Arch
Operating System: ALL
Participants:

 Description   

As of SERVER-56841, failed {{tassert}}s print stack traces whether or not the system is running under test. It should instead only print stack traces when the system is running under a test harness, and never print stack traces in production environments.

Allowing them to print stack traces in production leads to user confusion.


Generated at Thu Feb 08 05:52:58 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.