]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
test/test_mempool: fix to use mempool::pick_a_shard_int()
authorYingxin Cheng <yingxin.cheng@intel.com>
Wed, 13 Sep 2023 06:09:53 +0000 (14:09 +0800)
committerYingxin Cheng <yingxin.cheng@intel.com>
Thu, 23 Nov 2023 01:53:06 +0000 (09:53 +0800)
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
src/test/test_mempool.cc

index 9dd96682f360f1578d2e29a312a72d7362935da2..a8e20a41747d9bb62abd3977ecbde189952895fa 100644 (file)
@@ -412,7 +412,7 @@ TEST(mempool, check_shard_select)
   for (size_t i = 0; i < samples; i++) {
     workers.push_back(
       std::thread([&](){
-          size_t i = mempool::pool_t::pick_a_shard_int();
+          size_t i = mempool::pick_a_shard_int();
           shards[i]++;
         }));
   }