BUGFIX: make sure clean the ls if created failed

This commit is contained in:
obdev
2024-02-08 06:25:33 +00:00
committed by ob-robot
parent 9c7c47feee
commit 6953548b56
36 changed files with 547 additions and 477 deletions

View File

@ -225,7 +225,7 @@ void TestCompactionPolicy::SetUpTestCase()
void TestCompactionPolicy::TearDownTestCase()
{
int ret = OB_SUCCESS;
ret = MTL(ObLSService*)->remove_ls(ObLSID(TEST_LS_ID), false);
ret = MTL(ObLSService*)->remove_ls(ObLSID(TEST_LS_ID));
ASSERT_EQ(OB_SUCCESS, ret);
ObTenantMetaMemMgr *t3m = MTL(ObTenantMetaMemMgr*);
ASSERT_EQ(OB_SUCCESS, ret);