summaryrefslogtreecommitdiffstats
path: root/src/test/rgw/rgw_cr_test.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/rgw/rgw_cr_test.cc')
-rw-r--r--src/test/rgw/rgw_cr_test.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/test/rgw/rgw_cr_test.cc b/src/test/rgw/rgw_cr_test.cc
index 2c250b390a9..db59dd1841b 100644
--- a/src/test/rgw/rgw_cr_test.cc
+++ b/src/test/rgw/rgw_cr_test.cc
@@ -10,7 +10,7 @@
#include "include/rados/librados.hpp"
-#include "rgw_tools.h"
+#include "common/async/context_pool.h"
#include "common/common_init.h"
#include "common/config.h"
@@ -321,12 +321,14 @@ int main(int argc, const char **argv)
common_init_finish(g_ceph_context);
+ ceph::async::io_context_pool context_pool{cct->_conf->rgw_thread_pool_size};
DriverManager::Config cfg = DriverManager::get_config(true, g_ceph_context);
store = static_cast<rgw::sal::RadosStore*>(
DriverManager::get_storage(dpp(),
g_ceph_context,
cfg,
+ context_pool,
false,
false,
false,