summaryrefslogtreecommitdiff
path: root/src/mongo/unittest
Commit message (Collapse)AuthorAgeFilesLines
* SERVER-68830 did some tidy clang fixesJuan Gu2022-08-192-2/+0
|
* SERVER-67415 Create golden-data JS suitesDavid Percy2022-08-178-374/+614
| | | | | | | | | | Adds two new suites: query_golden_classic and query_golden_cqf, which use the golden-data test framework (docs/golden_data_test_framework.md). These suites diff the expected and actual output instead of using assert.eq and similar functions. This change includes some refactoring of the golden-test classes to avoid pulling the unittest library into the mongo shell.
* SERVER-68378 remove all uses of optional_io.hppBilly Donahue2022-07-294-18/+56
|
* SERVER-66760 Add ASSERT_DOES_NOT_THROW to unittest assertionsLeonardo Menti2022-07-121-0/+15
|
* SERVER-9434 Audit and Normalize Process Exit CodesMatt Kneiser2022-07-074-10/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - 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-66061 Remove redundant projection in COLUMN_SCAN plansCharlie Swanson2022-07-061-2/+2
|
* SERVER-67162 Integrate new PCRE2 wrapperJennifer Peshansky2022-06-276-20/+18
|
* SERVER-38689 TempDirs inside DEATH_TESTs don't get cleaned upVojislav Stojkovic2022-06-177-58/+47
|
* SERVER-60440 Upgrade boost to 1.79.0Andrew Morrow2022-05-261-0/+1
| | | | | | - Reapply the fix for SERVER-46008 for boost 1.79.0 - Reapply the slist fix from SERVER-44079 to boost 1.79.0 - Reapply the fix from SERVER-55204 to boost 1.79.0
* SERVER-66490 Apply pylinters to build system codeTausif Rahman2022-05-251-8/+8
|
* Revert "SERVER-65347 Add testing to ensure that generated ninja files are ↵Richard Samuels2022-05-101-20/+5
| | | | | | deterministic" This reverts commit 561d65eebd69ee00c98e8f19592d9f1eb9798a7e.
* SERVER-66203 move MONGO_LOGV2_DEFAULT_COMPONENT defs below includesBilly Donahue2022-05-069-9/+24
|
* SERVER-65347 Add testing to ensure that generated ninja files are deterministicRichard Samuels2022-05-021-5/+20
|
* SERVER-41353 replace errnoWithDescription with an API based on std::error_codeBilly Donahue2022-04-281-4/+5
|
* SERVER-55204 Error on fallthrough unless the attribute is usedAndrew Morrow2022-04-181-0/+6
|
* SERVER-61860 exec in most DEATH_TESTsBilly Donahue2022-03-206-123/+283
|
* Revert "SERVER-61860 exec in most DEATH_TESTs"auto-revert-processor2022-03-176-286/+123
| | | | This reverts commit b372b25622b9ec4dd7ae5b8e3424218b8eaa774a.
* SERVER-61860 exec in most DEATH_TESTsBilly Donahue2022-03-166-123/+286
|
* SERVER-63734 Add cli update/diff tools for golden data test managementAnna Wawrzyniak2022-03-123-58/+52
|
* SERVER-62735 Add unit test support for expected output in separate filesAnna Wawrzyniak2022-02-239-17/+684
|
* SERVER-62684 Get rid of unnecessary usages of ChunkVersion::epoch()Kaloian Manassiev2022-01-194-89/+0
|
* SERVER-61491 Tee backtrace log records to a separate fileMark Benvenuto2022-01-071-0/+1
|
* SERVER-59858 Add observability for tasks scheduled on reactor threadsAmirsaman Memaripour2021-10-282-0/+5
|
* SERVER-59142 Add dropConnections API to TaskExecutorVojislav Stojkovic2021-10-212-0/+12
|
* SERVER-60691 remove global service context initialization from benchmark_mainBenety Goh2021-10-202-3/+3
|
* Revert "SERVER-60388 benchmark_main registers LockerNoopClientObserver with ↵Benety Goh2021-10-141-4/+1
| | | | | | ServiceContext" This reverts commit 10d9f10ea2c88a99a18ab7261501a24708b878cf.
* SERVER-60388 benchmark_main registers LockerNoopClientObserver with ↵Benety Goh2021-10-141-1/+4
| | | | ServiceContext
* SERVER-59618 integration tests register LockerNoopClientObserver with ↵Benety Goh2021-09-281-1/+4
| | | | ServiceContext
* SERVER-59782 migrate makeGuard calls to ScopeGuardBilly Donahue2021-09-082-4/+4
|
* SERVER-58344 Remove ServerGlobalParams::FeatureCompatibility and replace ↵Vishnu Kaushik2021-09-012-3/+3
| | | | references with generated FCV constants
* SERVER-58069 ASSERT_THAT: a matcher-based assert for unit testsBilly Donahue2021-08-1210-28/+1384
|
* SERVER-56401 emit eol in log formattersergey.galtsev2021-08-101-2/+2
|
* SERVER-43762 tighten the overload set for BSONObjBuilder::appendNumberBynn Lee2021-03-051-1/+1
|
* SERVER-54801 OpMsgFuzzerFixture needs a unique dbpathBen Caimano2021-02-261-1/+1
|
* Revert "SERVER-43762 tighten the overload set for BSONObjBuilder::appendNumber"Bynn Lee2021-02-251-1/+1
| | | | This reverts commit 3307ba57eef2dfff9abe2413e39058ac9451ec04.
* SERVER-43762 tighten the overload set for BSONObjBuilder::appendNumberBynn Lee2021-02-221-1/+1
|
* SERVER-54412 DEATH_TEST must tolerate EINTR from getlineBilly Donahue2021-02-111-2/+8
|
* SERVER-53135: Make tassert only abort when TestingProctor is enabledTyler Seip2020-12-172-13/+3
|
* SERVER-53065 enhance terminate handler exception dumpsBilly Donahue2020-12-171-0/+10
|
* SERVER-40811 make initializers throwyBilly Donahue2020-12-083-34/+11
| | | | | | | - Consolidate init-related headers (just init.h and initializer.h) - Factor out a separate DependencyGraph component - Remove MONGO_DEFAULT_PREREQUISITES, MONGO_NO_PREREQUISITES, MONGO_NO_DEPENDENTS. - Document the role of the "default" initializer.
* SERVER-51245: Have resharding oplog fetching use a Fetcher.Daniel Gottlieb2020-11-251-0/+1
|
* Revert "SERVER-51245: Have resharding oplog fetching use a Fetcher."Uladzimir Makouski2020-11-251-1/+0
| | | | This reverts commit cda3a52701fe4143b06bd981b98514e69d0a93eb.
* SERVER-51245: Have resharding oplog fetching use a Fetcher.Daniel Gottlieb2020-11-251-0/+1
|
* SERVER-53069 Disable death tests on address and memory sanitizer variantsBen Caimano2020-11-241-1/+4
|
* SERVER-53035 ThreadAssertionMonitorBilly Donahue2020-11-243-0/+240
|
* SERVER-52699 oplog fetcher should be able to handle task executor shutdown ↵Suganthi Mani2020-11-172-0/+5
| | | | case while running query.
* SERVER-25822 added callback to support preventing given components from ↵Daniel Moody2020-11-121-0/+5
| | | | linking together
* SERVER-44570 Add tripwire assertions (tassert)Kevin Pulo2020-11-022-2/+14
|
* SERVER-38289 Teach objects builders how to build idl files.Daniel Moody2020-10-221-3/+3
|
* SERVER-51240 fix readability-avoid-const-params-in-decls in testsBenety Goh2020-10-042-4/+4
|