]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/test/rgw/test_rgw_throttle.cc
update ceph source to reef 18.1.2
[ceph.git] / ceph / src / test / rgw / test_rgw_throttle.cc
index 7ac82a30762dff8f1eae89e7e1de487c4421a813..d67f2c6ceb655e74d62451d376351a328565a1e1 100644 (file)
@@ -12,7 +12,7 @@
  *
  */
 
-#include "rgw/rgw_aio_throttle.h"
+#include "rgw_aio_throttle.h"
 
 #include <optional>
 #include <thread>
@@ -37,6 +37,7 @@ struct RadosEnv : public ::testing::Environment {
     ASSERT_EQ(0, r);
   }
   void TearDown() override {
+    ASSERT_EQ(0, rados->get_rados_handle()->pool_delete(poolname));
     rados->shutdown();
     rados.reset();
   }
@@ -179,6 +180,7 @@ TEST_F(Aio_Throttle, YieldCostOverWindow)
       ASSERT_EQ(1u, c.size());
       EXPECT_EQ(-EDEADLK, c.front().result);
     });
+  context.run();
 }
 
 TEST_F(Aio_Throttle, YieldingThrottleOverMax)