summaryrefslogtreecommitdiff
path: root/src/mongo/unittest/integration_test_main.cpp
Commit message (Collapse)AuthorAgeFilesLines
* SERVER-40811 make initializers throwyBilly Donahue2020-12-081-26/+5
| | | | | | | - 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-49768 Remove logv1 logger components, and make rotation a callback listSara Golemon2020-08-181-1/+0
|
* SERVER-49157 Initialize WireSpec during MONGO_INITIALIZERAmirsaman Memaripour2020-07-291-0/+7
|
* SERVER-48367 Remove all _envp usageBilly Donahue2020-06-111-2/+2
|
* SERVER-46726 Provide separate setParameter to disable diagnostic workAmirsaman Memaripour2020-06-051-0/+4
|
* SERVER-46127 unit tests log to a kTest componentGabriel Russell2020-04-141-1/+1
|
* SERVER-45567 removing util/log.h where I canGabriel Russell2020-02-211-1/+0
| | | | | | | o converting some log lines that were missed o fixing some missing includes create mode 100644 src/mongo/transport/ismaster_metrics.cpp
* SERVER-45869 automatically converted structured loggingGabriel Russell2020-02-131-1/+4
|
* SERVER-44715 C++ Unit Tests cannot be filtered by test fileMark Benvenuto2019-12-181-1/+1
|
* SERVER-44630 Attach logging init and options to integration testsBen Caimano2019-12-021-3/+33
|
* SERVER-39725 Migrate unittest options to IDLSara Golemon2019-02-221-23/+6
|
* 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-14/+16
|
* SERVER-36258 Construct ServiceContext after mongo initializers complete.Andy Schwerin2018-07-271-0/+1
|
* SERVER-34798 Remove ServiceContext subclasses and use new ServiceContext in ↵Andy Schwerin2018-06-221-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | every unit test. This patch does several loosely related and surprisingly hard to separate things. 1.) Make the ServiceContext class final 2.) Create a mechanism, called ConstructorActions, for running methods on ServiceContexts immediately after they're built and immediately before they're destroyed. 3.) Introduce / improve test fixture base classes for tests, giving them fresh ServiceContext instances for each test case. There is one fixture for tests that need a storage engine and another for those that do not. 4.) Make several remaining global variables SC decorations in support of (3) 5.) Replace many MONGO_INITIALIZERS that access getGlobalServiceContext with the new constructor-actions system, which is needed for (3.) 6.) Fix up tests to use the fixtures from (3) and fix tests that silently used different service contexts in together in a technically illegal fashion that now breaks. 7.) Utilize (2) as necessary to simplify initialization of new ServiceContexts, simplifying the fixtures in (3).
* SERVER-34794 Construct the global ServiceContext inside a MONGO_INITIALIZERAndy Schwerin2018-05-021-8/+1
|
* SERVER-30170 Embedded can now shutdown and re-initialize.Henrik Edin2018-03-261-1/+8
| | | | | | | | | - ServiceContext* is now closer to be an instance context for the database. We still don't support multiple instances but I wrote the new code with this in mind. Teardown and reinitialize then becomes a matter of being able to delete and re-create the ServiceContext*. - Use the new MONGO_INITIALIZER that supports deinit/reinit to be able to re-initialize global systems that are decorations on ServiceContext. - Move creation/destruction of ServiceContext* out of MONGO_INITIALIZER. This so we can hold an exclusive lock during as much as possible of the shutdown (like how mongod does) - New ServiceContext registrer where we can link in different implementations of ServiceContext (replaces the SetGlobalEnvironment MONGO_INITIALIZER) - As a result the SetGlobalEnvironment prerequisite for MONGO_INITIALIZERs is gone. - The ServiceContext is passed to runGlobalInitializers, put in InitializationContext/DeinitializationContext so the initializers know which context they operate on.
* SERVER-33300 Integrate TransportLayer with DBClientJonathan Reams2018-03-021-0/+2
|
* SERVER-29689 Use quickExit() in integration test main()Mathias Stearn2017-06-191-1/+1
|
* SERVER-19449 implement C++ scaffolding for C++ integration testsAdam Midvidy2015-08-111-0/+126