Hide add_self_to_cgroup and set_group_id
This commit is contained in:
@ -24,9 +24,9 @@ using namespace oceanbase::observer;
|
||||
|
||||
void *thread_func(void *args)
|
||||
{
|
||||
ASSERT_EQ(OB_SUCCESS, cg_ctrl.add_self_to_cgroup(1001));
|
||||
ASSERT_EQ(OB_SUCCESS, cg_ctrl.add_self_to_cgroup_(1001));
|
||||
sleep(3);
|
||||
ASSERT_EQ(OB_SUCCESS, cg_ctrl.remove_self_from_cgroup(1001));
|
||||
ASSERT_EQ(OB_SUCCESS, cg_ctrl.add_self_to_cgroup_(1001));
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user