summaryrefslogtreecommitdiff
path: root/src/mongo/util/assert_util_test.cpp
Commit message (Collapse)AuthorAgeFilesLines
* SERVER-41064 ScopedDebugInfoBilly Donahue2022-08-031-0/+37
|
* SERVER-67606 replace instances of ErrorCategory::Interruption in testsMatt Diener2022-07-291-12/+1
|
* SERVER-9434 Audit and Normalize Process Exit CodesMatt Kneiser2022-07-071-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Put all references to ExitCode enumerators under an enum class to namespace all the enumerators and avoid polluting the mongo namespace with possible naming collisions. - Added magic-number exit codes to exit_code.h like 50 & 51 (LauncherMiddleError & LauncherError respectively). - Reserved a range of exit codes to account for FreeBSD's usage of 64-78. - Renamed all enums with removal of EXIT_ which could conflict or get confused with built-in macros. - camelCased all ExitCode enum values. - Added the generic - ExitCode::fail - for returning 1 as failure. - Added explicit dependency on the exit_code.h header for all files using ExitCode's. - Removed all references to implementation-defined exit codes like EXIT_FAILURE and EXIT_SUCCESS. - Narrowed return values of the shell's undocumented quit() argument to portable values within 0-255, 0/ExitCode::clean otherwise. - Deprecated 8 unused ExitCode's - java - oomMalloc - oomRealloc - fs - clockSkew - windowsServiceStop - possibleCorruption - test - Wrapped the 2 Windows-only ExitCode's in #ifdef's - ntServiceError - windowsServiceStop
* SERVER-66345: Add a MONGO_UNIMPLEMENTEDErin McNulty2022-06-211-0/+14
|
* SERVER-66203 move MONGO_LOGV2_DEFAULT_COMPONENT defs below includesBilly Donahue2022-05-061-1/+3
|
* SERVER-54031 Include .py and .idl files in the errorcodes.py scanBilly Donahue2021-03-061-1/+1
|
* SERVER-53135: Make tassert only abort when TestingProctor is enabledTyler Seip2020-12-171-37/+6
|
* SERVER-50684 rename,cleanup internalAssert->iassertBilly Donahue2020-11-201-4/+4
|
* SERVER-44570 Add tripwire assertions (tassert)Kevin Pulo2020-11-021-0/+92
|
* SERVER-50527 Change NotMasterError category to NotPrimaryErrorPavi Vetriselvan2020-09-081-11/+11
|
* SERVER-50408 Change NotMaster error name to NotWritablePrimaryPavi Vetriselvan2020-09-031-13/+16
|
* SERVER-48922 Create internal assertion macroAmirsaman Memaripour2020-06-241-0/+39
|
* SERVER-46127 unit tests log to a kTest componentGabriel Russell2020-04-141-1/+1
|
* SERVER-47070 fixing recursion in util_testGabriel Russell2020-03-241-40/+0
| | | | | | | | | | | | o death_test.cpp was allowing throwing "children" to escape their context to become test running "parents" and run more "children" thus recursion o assert_util_test.cpp was testing that uassert and massert die, but uassert and massert don't die o fix RollbackFailsOnUnknownOplogEntryCommandType which was throwing instead of dying in a death test
* SERVER-46219 Unit Tests should log with jsonMark Benvenuto2020-02-251-2/+2
|
* SERVER-40358 Add assertion helpers like 'StatusOKWithContext' to all macrosEric Cox2019-12-131-0/+57
|
* SERVER-42908 Add ErrorCodes to retryable errors to match driversBen Caimano2019-09-091-6/+8
|
* SERVER-41772 Apply clang-format 7.0.1 to the codebaseclang-format-7.0.12019-07-271-8/+8
|
* SERVER-41216 Rename InterruptedDueToStepDown error code to ↵Judah Schvimer2019-05-201-15/+15
| | | | InterruptedDueToReplStateChange
* SERVER-40476 remove mongoutils::strBilly Donahue2019-04-091-1/+1
| | | | | | Rename utils/mongoutils/str.h => utils/str.h Rename namespace mongoutils::str => str Rename mongo::strcasecmp => str::caseInsensitiveCompare.
* SERVER-39560 - remove leading blank line on all C++ filesBilly Donahue2019-02-131-1/+0
| | | | | | Remove leading comments that are just stating the filename. Move any file-level comments below the copyright banner. Remove leading blank lines.
* SERVER-37651 Update header files with new licenseRamon Fernandez2018-10-221-8/+10
|
* SERVER-34817 find replace from InterruptedDueToReplStateChange error code to ↵Nathan Louie2018-06-061-15/+15
| | | | InterruptedDueToStepDown
* SERVER-34364 add test coverage for dassert macror3.7.9Benety Goh2018-04-261-1/+26
|
* SERVER-34364 remove invariantOK and dassertOKBenety Goh2018-04-261-4/+0
|
* SERVER-34364 add Status and StatusWith support to invariant()Benety Goh2018-04-231-0/+42
|
* SERVER-24635 remove fassertStatusOKBenety Goh2018-03-081-10/+0
| | | | This is redundant now that fassert supports both Status and StatusWith.
* SERVER-33659 add fassertNoTrace overload that accepts StatusWithBenety Goh2018-03-061-0/+16
|
* SERVER-31734 Core ErrorExtraInfo implementationMathias Stearn2018-01-041-0/+59
|
* SERVER-32369 evaluate invariant message before passing to ↵Benety Goh2017-12-261-0/+25
| | | | invariantFailedWithMsg()
* SERVER-31622 Support catching DBException by code or categoryMathias Stearn2017-11-021-1/+111
|
* SERVER-30702 Stop printing stack traces on massert failuresMathias Stearn2017-08-171-17/+0
| | | | The NoTrace variants were removed as they are now redundant.
* SERVER-24523 Include file and line numbers in assertionsAndreas Nilsson2016-07-111-0/+130