Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | SERVER-25662: Print TestAssertionFailureException before throwing in unit tests. | Scott Hernandez | 2016-09-19 | 1 | -0/+1 |
| | |||||
* | SERVER-24508 BSONElement::ComparatorInterface | David Storch | 2016-09-02 | 3 | -0/+79 |
| | |||||
* | Revert "SERVER-25788 Accept command line arguments in unit tests" | Eric Milkie | 2016-08-26 | 2 | -58/+4 |
| | | | | This reverts commit eb4ce92e70deca54682bcd04baa3bd770faa7476. | ||||
* | SERVER-25788 Accept command line arguments in unit tests | Siyuan Zhou | 2016-08-25 | 2 | -4/+58 |
| | |||||
* | SERVER-24508 BSONObj::ComparatorInterface | David Storch | 2016-08-18 | 5 | -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 cleanup | Scott Hernandez | 2016-06-30 | 2 | -13/+23 |
| | |||||
* | SERVER-23103 Remove the unit test crutch | Andrew Morrow | 2016-06-16 | 2 | -59/+0 |
| | |||||
* | SERVER-23103 Refactor access to haveLocalShardingInfo | Andrew Morrow | 2016-06-16 | 1 | -4/+0 |
| | |||||
* | SERVER-23103 Make service contexts responsible for creating DBDirectClients | Andrew Morrow | 2016-06-16 | 1 | -5/+0 |
| | |||||
* | SERVER-24273 moved writeOpsToOplog to repl storage interface | Benety Goh | 2016-06-01 | 2 | -1/+18 |
| | |||||
* | SERVER-23971 Clang-Format code | Mark Benvenuto | 2016-05-28 | 6 | -56/+55 |
| | |||||
* | SERVER-23757 Clear signal mask when starting unit tests | Jonathan Reams | 2016-04-16 | 1 | -0/+1 |
| | |||||
* | SERVER-22774 Copied BackgroundSync::_fetcherCallback logic to OplogFetcher | Benety Goh | 2016-04-08 | 1 | -0/+13 |
| | |||||
* | SERVER-23010: general cleanup and test fixture changes | Scott Hernandez | 2016-03-27 | 2 | -0/+12 |
| | |||||
* | SERVER-23103 Unify exit handling | Andrew Morrow | 2016-03-21 | 1 | -14/+0 |
| | |||||
* | SERVER-18029 extended Reporter to support keep alive and downconversion for ↵ | Benety Goh | 2016-03-10 | 3 | -0/+200 |
| | | | | pre-3.2.4.servers. | ||||
* | SERVER-22359 Move ensureShardVersionOkOrThrow to CollectionShardingState | Kaloian Manassiev | 2016-03-10 | 1 | -1/+1 |
| | | | | | This ensures that we will have assertions in place for the correct locks being held. | ||||
* | SERVER-21436 NetworkInterfaceThreadPool for sharding | Jason Carey | 2015-11-17 | 1 | -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 Goh | 2015-09-22 | 2 | -0/+17 |
| | | | | no _id | ||||
* | SERVER-19769 Use std::function to back stdx::function on windows | Andrew Morrow | 2015-08-31 | 1 | -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 tests | Adam Midvidy | 2015-08-11 | 3 | -0/+182 |
| | |||||
* | SERVER-9666 Remove test watchdog and support code | Andrew Morrow | 2015-07-21 | 3 | -12/+0 |
| | |||||
* | SERVER-9666 Collapse the low level cyclic libs into a new base lib | Andrew Morrow | 2015-07-21 | 1 | -3/+3 |
| | |||||
* | SERVER-19127 Fix race condition in unittest log line capturing. | Andy Schwerin | 2015-06-25 | 2 | -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 reflow | Mark Benvenuto | 2015-06-20 | 15 | -1059/+1070 |
| | |||||
* | SERVER-19005 Support DEATH_TEST and DEATH_TEST_F | Andy Schwerin | 2015-06-17 | 5 | -8/+254 |
| | |||||
* | SERVER-18991 Replace all usages of boost::noncopyable with ↵ | Andrew Morrow | 2015-06-16 | 1 | -5/+8 |
| | | | | MONGO_DISALLOW_COPYING | ||||
* | SERVER-17307 Replace boost::shared_ptr and friends with std::shared_ptr | Andrew Morrow | 2015-06-10 | 2 | -12/+10 |
| | |||||
* | SERVER-17308 Replace boost::scoped_ptr<T> with std::unique_ptr<T> | Andrew Morrow | 2015-06-10 | 1 | -1/+0 |
| | |||||
* | SERVER-18347 Attach ShardedConnectionInfo as a client decoration | Andrew Morrow | 2015-06-08 | 1 | -1/+3 |
| | |||||
* | SERVER-18236 hang slaveOk/secondaryOk and readPreference off OpCtx | Adam Midvidy | 2015-06-03 | 1 | -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 test | Benety Goh | 2015-05-21 | 3 | -0/+138 |
| | |||||
* | SERVER-18016 added unit test assertion macro to check error code in exception | Benety Goh | 2015-05-14 | 1 | -0/+9 |
| | |||||
* | SERVER-13874 Make mongo::Milliseconds et al. aliases for equivalent ↵ | Andy Schwerin | 2015-05-13 | 1 | -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 Schwerin | 2015-05-12 | 1 | -1/+1 |
| | | | | | | | | stdx::chrono types." This reverts commit 9aac625685811873ffbc2d3e8d09531eff1ce10e. Committed in error. | ||||
* | SERVER-13874 Make mongo::Milliseconds et al. aliases for equivalent ↵ | Andy Schwerin | 2015-05-12 | 1 | -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 directory | Andrew Morrow | 2015-04-29 | 1 | -1/+1 |
| | |||||
* | SERVER-9666 Push foundation lib declaration into util directory | Andrew Morrow | 2015-04-24 | 1 | -1/+1 |
| | |||||
* | SERVER-17880 Rename OpTime to Timestamp | Eric Milkie | 2015-04-07 | 2 | -5/+5 |
| | |||||
* | SERVER-17570: Fix NT Service shutdown race condition | Mark Benvenuto | 2015-03-18 | 1 | -0/+10 |
| | |||||
* | SERVER-16559 Require C++11 and remove conditional compilation | Andrew Morrow | 2015-02-13 | 2 | -9/+3 |
| | |||||
* | SERVER-16940 Change pass-by-const-ref of StringData to pass-by-value | Tyler Brock | 2015-02-06 | 1 | -2/+2 |
| | |||||
* | SERVER-8994: Boost 1.56 fixes | Mark Benvenuto | 2015-01-15 | 1 | -1/+1 |
| | |||||
* | SERVER-13256 Remove pch.h | Andrew Morrow | 2015-01-15 | 1 | -3/+0 |
| | |||||
* | SERVER-13256 Add usings and qualifications for names from namespace std | Andrew Morrow | 2015-01-15 | 2 | -0/+4 |
| | |||||
* | SERVER-13256 Add std namespace qualifications in headers | Andrew Morrow | 2015-01-15 | 1 | -1/+1 |
| | |||||
* | SERVER-13256 Remove shared_ptr from pch.h | Andrew Morrow | 2015-01-05 | 1 | -0/+3 |
| | |||||
* | SERVER-13256 Prohibit new uses of pch.h | Andrew Morrow | 2015-01-05 | 1 | -0/+3 |
| | |||||
* | SERVER-16132: implement directoryperdb under WiredTiger | Eliot Horowitz | 2014-12-01 | 1 | -0/+12 |
| | |||||
* | SERVER-16105 do not hold any locks when exiting via shutdown command | Eric Milkie | 2014-11-12 | 1 | -1/+1 |
| |