diff options
Diffstat (limited to 'src/mongo/db/pipeline/document_source_test.cpp')
-rw-r--r-- | src/mongo/db/pipeline/document_source_test.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mongo/db/pipeline/document_source_test.cpp b/src/mongo/db/pipeline/document_source_test.cpp index 80423154a8d..841acf89b64 100644 --- a/src/mongo/db/pipeline/document_source_test.cpp +++ b/src/mongo/db/pipeline/document_source_test.cpp @@ -41,6 +41,7 @@ #include "mongo/db/storage/storage_options.h" #include "mongo/dbtests/dbtests.h" #include "mongo/util/clock_source_mock.h" +#include "mongo/util/tick_source_mock.h" #include "mongo/unittest/temp_dir.h" namespace mongo { @@ -51,6 +52,7 @@ bool isMongos() { std::unique_ptr<ServiceContextNoop> makeTestServiceContext() { auto service = stdx::make_unique<ServiceContextNoop>(); service->setFastClockSource(stdx::make_unique<ClockSourceMock>()); + service->setTickSource(stdx::make_unique<TickSourceMock>()); return service; } } |