[FEAT MERGE] Refactoring ObTimer to reduce the number of threads

This commit is contained in:
obdev
2024-11-21 03:45:15 +00:00
committed by ob-robot
parent 21fe0da3f7
commit 0e58dbeeb5
72 changed files with 929543 additions and 278076 deletions

View File

@ -169,6 +169,16 @@ public:
virtual ~TestMonitorInfoManager() {}
virtual void SetUp() {}
virtual void TearDown() {}
static void SetUpTestCase()
{
ASSERT_EQ(OB_SUCCESS, ObTimerService::get_instance().start());
}
static void TearDownTestCase()
{
ObTimerService::get_instance().stop();
ObTimerService::get_instance().wait();
ObTimerService::get_instance().destroy();
}
virtual void run1() {
//do_add();
}