]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/test/rgw/test_rgw_reshard_wait.cc
update source to Ceph Pacific 16.2.2
[ceph.git] / ceph / src / test / rgw / test_rgw_reshard_wait.cc
index a1f55b5a71686d202d87905e4bd1f21fc1cef1cb..fa947c4f3c2c45afd377624c103d7250a6b051d9 100644 (file)
@@ -13,9 +13,7 @@
  */
 
 #include "rgw/rgw_reshard.h"
-#ifdef HAVE_BOOST_CONTEXT
 #include <spawn/spawn.hpp>
-#endif
 
 #include <gtest/gtest.h>
 
@@ -60,7 +58,6 @@ TEST(ReshardWait, stop_block)
   short_waiter.stop();
 }
 
-#ifdef HAVE_BOOST_CONTEXT
 TEST(ReshardWait, wait_yield)
 {
   constexpr ceph::timespan wait_duration = 50ms;
@@ -165,4 +162,3 @@ TEST(ReshardWait, stop_multiple)
   EXPECT_GT(long_duration, elapsed); // waited less than 10s
   short_waiter.stop();
 }
-#endif // HAVE_BOOST_CONTEXT