From db90480701e5534244d13039b4f67edf919ddeea Mon Sep 17 00:00:00 2001 From: Casey Bodley Date: Tue, 20 Jul 2021 12:50:25 -0400 Subject: [PATCH] test/rgw: use spawn library for test_rgw_dmclock_scheduler Signed-off-by: Casey Bodley (cherry picked from commit a8e3589a2c875b6fadc853c75f20cb9256f294ca) --- src/test/rgw/CMakeLists.txt | 2 -- src/test/rgw/test_rgw_dmclock_scheduler.cc | 4 ++-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/src/test/rgw/CMakeLists.txt b/src/test/rgw/CMakeLists.txt index 569cbb93a0e69..641fd69cd91cf 100644 --- a/src/test/rgw/CMakeLists.txt +++ b/src/test/rgw/CMakeLists.txt @@ -167,8 +167,6 @@ add_executable(unittest_rgw_dmclock_scheduler test_rgw_dmclock_scheduler.cc $ -#include +#include #include #include "acconfig.h" #include "global/global_context.h" @@ -400,7 +400,7 @@ TEST(Queue, SpawnAsyncRequest) { boost::asio::io_context context; - boost::asio::spawn(context, [&] (boost::asio::yield_context yield) { + spawn::spawn(context, [&] (spawn::yield_context yield) { ClientCounters counters(g_ceph_context); AsyncScheduler queue(g_ceph_context, context, std::ref(counters), nullptr, [] (client_id client) -> ClientInfo* { -- 2.39.5