diff options
Diffstat (limited to 'src/mongo/db/repl/sync_tail_test.cpp')
-rw-r--r-- | src/mongo/db/repl/sync_tail_test.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mongo/db/repl/sync_tail_test.cpp b/src/mongo/db/repl/sync_tail_test.cpp index 403b3d4d268..f63d49d4c31 100644 --- a/src/mongo/db/repl/sync_tail_test.cpp +++ b/src/mongo/db/repl/sync_tail_test.cpp @@ -2372,7 +2372,7 @@ TEST_F(SyncTailTest, LogSlowOpApplicationWhenSuccessful) { // This duration is greater than "slowMS", so the op would be considered slow. auto applyDuration = serverGlobalParams.slowMS * 10; getServiceContext()->setFastClockSource( - stdx::make_unique<AutoAdvancingClockSourceMock>(Milliseconds(applyDuration))); + std::make_unique<AutoAdvancingClockSourceMock>(Milliseconds(applyDuration))); // We are inserting into an existing collection. const NamespaceString nss("test.t"); @@ -2395,7 +2395,7 @@ TEST_F(SyncTailTest, DoNotLogSlowOpApplicationWhenFailed) { // This duration is greater than "slowMS", so the op would be considered slow. auto applyDuration = serverGlobalParams.slowMS * 10; getServiceContext()->setFastClockSource( - stdx::make_unique<AutoAdvancingClockSourceMock>(Milliseconds(applyDuration))); + std::make_unique<AutoAdvancingClockSourceMock>(Milliseconds(applyDuration))); // We are trying to insert into a non-existing database. NamespaceString nss("test.t"); @@ -2420,7 +2420,7 @@ TEST_F(SyncTailTest, DoNotLogNonSlowOpApplicationWhenSuccessful) { // This duration is below "slowMS", so the op would *not* be considered slow. auto applyDuration = serverGlobalParams.slowMS / 10; getServiceContext()->setFastClockSource( - stdx::make_unique<AutoAdvancingClockSourceMock>(Milliseconds(applyDuration))); + std::make_unique<AutoAdvancingClockSourceMock>(Milliseconds(applyDuration))); // We are inserting into an existing collection. const NamespaceString nss("test.t"); |