diff options
Diffstat (limited to 'src/mongo/dbtests/dbtests.cpp')
-rw-r--r-- | src/mongo/dbtests/dbtests.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mongo/dbtests/dbtests.cpp b/src/mongo/dbtests/dbtests.cpp index 12cb6ff9d06..75883c53091 100644 --- a/src/mongo/dbtests/dbtests.cpp +++ b/src/mongo/dbtests/dbtests.cpp @@ -132,7 +132,9 @@ int dbtestsMain(int argc, char** argv, char** envp) { replSettings.setOplogSizeBytes(10 * 1024 * 1024); ServiceContext* service = getGlobalServiceContext(); - auto timeProofService = stdx::make_unique<TimeProofService>(); + std::array<std::uint8_t, 20> tempKey = {}; + TimeProofService::Key key(std::move(tempKey)); + auto timeProofService = stdx::make_unique<TimeProofService>(std::move(key)); auto logicalClock = stdx::make_unique<LogicalClock>(service, std::move(timeProofService), false); LogicalClock::set(service, std::move(logicalClock)); |