]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
test/rgw: add ifdef for HAVE_BOOST_CONTEXT 25744/head
authorCasey Bodley <cbodley@redhat.com>
Wed, 2 Jan 2019 14:53:14 +0000 (09:53 -0500)
committerCasey Bodley <cbodley@redhat.com>
Wed, 2 Jan 2019 14:53:14 +0000 (09:53 -0500)
Signed-off-by: Casey Bodley <cbodley@redhat.com>
src/test/rgw/test_rgw_reshard_wait.cc

index a0e4bd2cb3be02169da5ae95a534aba0b6f2c885..8996e5cb7d1664c88928f7dc52bc6eaaeb55a4f9 100644 (file)
@@ -56,6 +56,7 @@ TEST(ReshardWait, stop_block)
   short_waiter.stop();
 }
 
+#ifdef HAVE_BOOST_CONTEXT
 TEST(ReshardWait, wait_yield)
 {
   constexpr ceph::timespan wait_duration = 10ms;
@@ -159,3 +160,4 @@ TEST(ReshardWait, stop_multiple)
   EXPECT_GT(long_duration, elapsed); // waited less than 10s
   short_waiter.stop();
 }
+#endif // HAVE_BOOST_CONTEXT