summaryrefslogtreecommitdiff
path: root/src/mongo/transport/service_executor_test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/transport/service_executor_test.cpp')
-rw-r--r--src/mongo/transport/service_executor_test.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/transport/service_executor_test.cpp b/src/mongo/transport/service_executor_test.cpp
index f6c66ec98b7..9d2d28d12c1 100644
--- a/src/mongo/transport/service_executor_test.cpp
+++ b/src/mongo/transport/service_executor_test.cpp
@@ -198,7 +198,7 @@ void scheduleBasicTask(ServiceExecutor* exec, bool expectSuccess) {
TEST_F(ServiceExecutorAdaptiveFixture, BasicTaskRuns) {
ASSERT_OK(executor->start());
- auto guard = MakeGuard([this] { ASSERT_OK(executor->shutdown(kShutdownTime)); });
+ auto guard = makeGuard([this] { ASSERT_OK(executor->shutdown(kShutdownTime)); });
scheduleBasicTask(executor.get(), true);
}
@@ -209,7 +209,7 @@ TEST_F(ServiceExecutorAdaptiveFixture, ScheduleFailsBeforeStartup) {
TEST_F(ServiceExecutorSynchronousFixture, BasicTaskRuns) {
ASSERT_OK(executor->start());
- auto guard = MakeGuard([this] { ASSERT_OK(executor->shutdown(kShutdownTime)); });
+ auto guard = makeGuard([this] { ASSERT_OK(executor->shutdown(kShutdownTime)); });
scheduleBasicTask(executor.get(), true);
}