From 847099cea5dfa76b77309d3ea548b039b26dc132 Mon Sep 17 00:00:00 2001 From: = Date: Tue, 4 Oct 2022 12:23:00 +0800 Subject: [PATCH] test/rgw: cleanup the pool created after comleting test Signed-off-by: Mingyuan Liang --- src/test/rgw/test_rgw_throttle.cc | 1 + 1 file changed, 1 insertion(+) 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(); } -- 2.47.3