From: = Date: Tue, 4 Oct 2022 04:23:00 +0000 (+0800) Subject: test/rgw: cleanup the pool created after comleting test X-Git-Tag: v18.1.0~980^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=847099cea5dfa76b77309d3ea548b039b26dc132;p=ceph.git test/rgw: cleanup the pool created after comleting test Signed-off-by: Mingyuan Liang --- diff --git a/src/test/rgw/test_rgw_throttle.cc b/src/test/rgw/test_rgw_throttle.cc index da26fcc7bdf8..9f6dc6ac23eb 100644 --- a/src/test/rgw/test_rgw_throttle.cc +++ b/src/test/rgw/test_rgw_throttle.cc @@ -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(); }