summaryrefslogtreecommitdiff
path: root/src/mongo/unittest
Commit message (Collapse)AuthorAgeFilesLines
* SERVER-25662: Print TestAssertionFailureException before throwing in unit tests.Scott Hernandez2016-09-191-0/+1
|
* SERVER-24508 BSONElement::ComparatorInterfaceDavid Storch2016-09-023-0/+79
|
* Revert "SERVER-25788 Accept command line arguments in unit tests"Eric Milkie2016-08-262-58/+4
| | | | This reverts commit eb4ce92e70deca54682bcd04baa3bd770faa7476.
* SERVER-25788 Accept command line arguments in unit testsSiyuan Zhou2016-08-252-4/+58
|
* SERVER-24508 BSONObj::ComparatorInterfaceDavid Storch2016-08-185-3/+186
| | | | | | | | | | | BSONObj instances should now be compared via the comparator interface's evaluate() method. This preferred over using BSONObj::woCompare() directly. If the comparison doesn't require any database semantics (e.g. there is no collation), there is a global instance of the SimpleBSONObjComparator which should be used for BSONObj comparisons. If the comparison requires special semantics, then callers must instantiate their own comparator object.
* SERVER-23750: unit test cleanupScott Hernandez2016-06-302-13/+23
|
* SERVER-23103 Remove the unit test crutchAndrew Morrow2016-06-162-59/+0
|
* SERVER-23103 Refactor access to haveLocalShardingInfoAndrew Morrow2016-06-161-4/+0
|
* SERVER-23103 Make service contexts responsible for creating DBDirectClientsAndrew Morrow2016-06-161-5/+0
|
* SERVER-24273 moved writeOpsToOplog to repl storage interfaceBenety Goh2016-06-012-1/+18
|
* SERVER-23971 Clang-Format codeMark Benvenuto2016-05-286-56/+55
|
* SERVER-23757 Clear signal mask when starting unit testsJonathan Reams2016-04-161-0/+1
|
* SERVER-22774 Copied BackgroundSync::_fetcherCallback logic to OplogFetcherBenety Goh2016-04-081-0/+13
|
* SERVER-23010: general cleanup and test fixture changesScott Hernandez2016-03-272-0/+12
|
* SERVER-23103 Unify exit handlingAndrew Morrow2016-03-211-14/+0
|
* SERVER-18029 extended Reporter to support keep alive and downconversion for ↵Benety Goh2016-03-103-0/+200
| | | | pre-3.2.4.servers.
* SERVER-22359 Move ensureShardVersionOkOrThrow to CollectionShardingStateKaloian Manassiev2016-03-101-1/+1
| | | | | This ensures that we will have assertions in place for the correct locks being held.
* SERVER-21436 NetworkInterfaceThreadPool for shardingJason Carey2015-11-171-1/+3
| | | | | | | | | | | | | Adding a new kind of thread pool that dispatches jobs onto a provided NetworkInterface rather than using their own thread pool. We're also switching the ThreadPoolTaskExecutor to use this instead of the regular thread pool for sharding. That, in turn, removes context switches by allowing inline execution of scheduled tasks if they're invoked from a nia io_worker. In pursuit of this, factored the connection pool tests out into a common set that the NetworkInterfaceThreadPool can use.
* SERVER-7244 added tests for rolling back index creation and operations with ↵Benety Goh2015-09-222-0/+17
| | | | no _id
* SERVER-19769 Use std::function to back stdx::function on windowsAndrew Morrow2015-08-311-7/+6
| | | | | | While std::function has some broken edge cases on VS2013, so does boost::function in boost 1.56. Rather than upgrade boost, use MSVC's std::function and fix up the few places that need adjustment.
* SERVER-19449 implement C++ scaffolding for C++ integration testsAdam Midvidy2015-08-113-0/+182
|
* SERVER-9666 Remove test watchdog and support codeAndrew Morrow2015-07-213-12/+0
|
* SERVER-9666 Collapse the low level cyclic libs into a new base libAndrew Morrow2015-07-211-3/+3
|
* SERVER-19127 Fix race condition in unittest log line capturing.Andy Schwerin2015-06-252-4/+30
| | | | | | | | | | | | The approach of this fix is to first make the appender for capturing log lines thread safe, and then to make it very unlikely that bad things happen if a test races between logging and detaching the special capture appender. We make it unlikely by taking advantage of the fact that appenders are removed by setting a pointer in a vector to NULL, and make sure that the capture appender is not destroyed when it is detached, but rather when the test fixture destructor runs. This means that if logging only occurs while a test fixture exists (likely if tests don't start threads outside of fixtures), tests will not try to use a capture appender that has gone out of scope.
* SERVER-18579: Clang-Format - reformat code, no comment reflowMark Benvenuto2015-06-2015-1059/+1070
|
* SERVER-19005 Support DEATH_TEST and DEATH_TEST_FAndy Schwerin2015-06-175-8/+254
|
* SERVER-18991 Replace all usages of boost::noncopyable with ↵Andrew Morrow2015-06-161-5/+8
| | | | MONGO_DISALLOW_COPYING
* SERVER-17307 Replace boost::shared_ptr and friends with std::shared_ptrAndrew Morrow2015-06-102-12/+10
|
* SERVER-17308 Replace boost::scoped_ptr<T> with std::unique_ptr<T>Andrew Morrow2015-06-101-1/+0
|
* SERVER-18347 Attach ShardedConnectionInfo as a client decorationAndrew Morrow2015-06-081-1/+3
|
* SERVER-18236 hang slaveOk/secondaryOk and readPreference off OpCtxAdam Midvidy2015-06-031-0/+7
| | | | | | | - secondaryOk is upconverted/downconverted from QueryOption_SlaveOk - readPreference is upconverted/downconverted from $query wrapped commands or $queryOptions - both are now accessed via OperationContext instead of being read from a mutable command object - removed logic for parsing secondaryOk and readPreference from the command execution pipeline in dbcommands.cpp
* SERVER-18016 fixed race in TaskRunner unit testBenety Goh2015-05-213-0/+138
|
* SERVER-18016 added unit test assertion macro to check error code in exceptionBenety Goh2015-05-141-0/+9
|
* SERVER-13874 Make mongo::Milliseconds et al. aliases for equivalent ↵Andy Schwerin2015-05-131-1/+1
| | | | | | | | stdx::chrono types. Also introduces operators for adding stdx::chrono::duration to Date_t, subtracting two Date_ts to get Milliseconds, and remove the use of reinterpret_cast from the implementation of BSON Timestamp type.
* Revert "SERVER-13874 Make mongo::Milliseconds et al. aliases for equivalent ↵Andy Schwerin2015-05-121-1/+1
| | | | | | | | stdx::chrono types." This reverts commit 9aac625685811873ffbc2d3e8d09531eff1ce10e. Committed in error.
* SERVER-13874 Make mongo::Milliseconds et al. aliases for equivalent ↵Andy Schwerin2015-05-121-1/+1
| | | | | | | | stdx::chrono types. Also introduces operators for adding stdx::chrono::duration to Date_t, subtracting two Date_ts to get Milliseconds, and remove the use of reinterpret_cast from the implementation of BSON Timestamp type.
* SERVER-9666 Push signal_handler libraries into util directoryAndrew Morrow2015-04-291-1/+1
|
* SERVER-9666 Push foundation lib declaration into util directoryAndrew Morrow2015-04-241-1/+1
|
* SERVER-17880 Rename OpTime to TimestampEric Milkie2015-04-072-5/+5
|
* SERVER-17570: Fix NT Service shutdown race conditionMark Benvenuto2015-03-181-0/+10
|
* SERVER-16559 Require C++11 and remove conditional compilationAndrew Morrow2015-02-132-9/+3
|
* SERVER-16940 Change pass-by-const-ref of StringData to pass-by-valueTyler Brock2015-02-061-2/+2
|
* SERVER-8994: Boost 1.56 fixesMark Benvenuto2015-01-151-1/+1
|
* SERVER-13256 Remove pch.hAndrew Morrow2015-01-151-3/+0
|
* SERVER-13256 Add usings and qualifications for names from namespace stdAndrew Morrow2015-01-152-0/+4
|
* SERVER-13256 Add std namespace qualifications in headersAndrew Morrow2015-01-151-1/+1
|
* SERVER-13256 Remove shared_ptr from pch.hAndrew Morrow2015-01-051-0/+3
|
* SERVER-13256 Prohibit new uses of pch.hAndrew Morrow2015-01-051-0/+3
|
* SERVER-16132: implement directoryperdb under WiredTigerEliot Horowitz2014-12-011-0/+12
|
* SERVER-16105 do not hold any locks when exiting via shutdown commandEric Milkie2014-11-121-1/+1
|