Skip to content

Commit

Permalink
test/rgw: cleanup the pool created after comleting test
Browse files Browse the repository at this point in the history
Signed-off-by: Mingyuan Liang <[email protected]>
  • Loading branch information
liangmingyuanneo committed Oct 5, 2022
1 parent 1e1b531 commit 847099c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/test/rgw/test_rgw_throttle.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}
Expand Down

0 comments on commit 847099c

Please sign in to comment.