summaryrefslogtreecommitdiff
path: root/src/mongo/dbtests
diff options
context:
space:
mode:
authorJack Mulrow <jack.mulrow@mongodb.com>2017-04-04 15:03:13 -0400
committerJack Mulrow <jack.mulrow@mongodb.com>2017-04-18 12:20:52 -0400
commit36dee9cbf58710f4168d39104aa5d446b3f15d49 (patch)
tree24811f61594d25afe9e38d667a01cbb2becb66a2 /src/mongo/dbtests
parent104653ec8eca6865ff938c3e9966139b2cdd340f (diff)
downloadmongo-36dee9cbf58710f4168d39104aa5d446b3f15d49.tar.gz
SERVER-28565 Do not return logicalTime on non-sharded RS
Diffstat (limited to 'src/mongo/dbtests')
-rw-r--r--src/mongo/dbtests/dbtests.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/mongo/dbtests/dbtests.cpp b/src/mongo/dbtests/dbtests.cpp
index 2ac3e5aa221..2e37847a023 100644
--- a/src/mongo/dbtests/dbtests.cpp
+++ b/src/mongo/dbtests/dbtests.cpp
@@ -48,7 +48,6 @@
#include "mongo/db/server_options.h"
#include "mongo/db/service_context.h"
#include "mongo/db/service_context_d.h"
-#include "mongo/db/time_proof_service.h"
#include "mongo/db/wire_version.h"
#include "mongo/dbtests/framework.h"
#include "mongo/scripting/engine.h"
@@ -132,8 +131,7 @@ int dbtestsMain(int argc, char** argv, char** envp) {
replSettings.setOplogSizeBytes(10 * 1024 * 1024);
ServiceContext* service = getGlobalServiceContext();
- auto timeProofService = stdx::make_unique<TimeProofService>();
- auto logicalClock = stdx::make_unique<LogicalClock>(service, std::move(timeProofService));
+ auto logicalClock = stdx::make_unique<LogicalClock>(service);
LogicalClock::set(service, std::move(logicalClock));
repl::setGlobalReplicationCoordinator(