[FEAT MERGE] del_tenant_memleak branch

Co-authored-by: HaHaJeff <jeffzhouhhh@gmail.com>
This commit is contained in:
obdev
2023-01-28 19:29:23 +08:00
committed by ob-robot
parent e3b89cd741
commit ba19ba90e0
179 changed files with 3235 additions and 2291 deletions

View File

@ -53,6 +53,7 @@ TestLogGroupBuffer::~TestLogGroupBuffer()
void TestLogGroupBuffer::SetUp()
{
ObMallocAllocator::get_instance()->create_and_add_tenant_allocator(1001);
// init MTL
ObTenantBase tbase(1001);
ObTenantEnv::set_tenant(&tbase);
@ -62,6 +63,7 @@ void TestLogGroupBuffer::TearDown()
{
PALF_LOG(INFO, "TestLogGroupBuffer has TearDown");
PALF_LOG(INFO, "TearDown success");
ObMallocAllocator::get_instance()->recycle_tenant_allocator(1001);
}
TEST_F(TestLogGroupBuffer, test_init)