-
Type: Improvement
-
Resolution: Done
-
Priority: Major - P3
-
Affects Version/s: 3.4.1
-
Component/s: Testing Infrastructure
-
None
-
Fully Compatible
-
TIG 2017-04-17, TIG 2017-05-08, TIG 2017-05-29, TIG 2017-06-19
-
0
Some tests intentionally cause the server to abort (e.g. fatal assertion). When quickly scanning the log output for a reason as to why the test failed, Server team engineers are misled by backtraces appearing in the output. We should write a message in MongoRunner.stopMongod() when the allowedExitCodes option is being used to test for an intentional abort.
Original description
Some tests intentionally cause the server to fassert. When diagnosing a test failure, people are sometimes thrown off by seeing fassert backtraces in the logs for fasserts that are expected. If we create a server option to suppress backtraces for fasserts with certain codes, then the test use this option to prevent expected fasserts from appearing in the logs.
- related to
-
SERVER-31013 Make serverExitCodeMap useful to detect if server crashed on startup before connection established
- Closed