单元测试编译失败

【 使用环境 】生产环境 or 测试环境
【 OB or 其他组件 】
【 使用版本 】当前master分支
【问题描述】清晰明确描述问题
【复现路径】问题出现前后相关操作
【问题现象及影响】

【附件】

Describe your question

** compile deps/oblib/unittest test failed on 4.19.91-011.ali4000.alios7.x86_64.**

/home/oceanbase/oceanbase/deps/oblib/unittest/lib/objectpool/test_concurrency_pool.cpp:248:5: error: use of undeclared identifier ‘this_routine’; did you mean ‘oceanbase::lib::this_routine’?
this_routine::usleep(10000);
^~~~~~~~~~~~
oceanbase::lib::this_routine
/home/oceanbase/oceanbase/deps/oblib/src/lib/coro/routine.h:47:11: note: ‘oceanbase::lib::this_routine’ declared here
namespace this_routine {
^
/home/oceanbase/oceanbase/deps/oblib/unittest/lib/objectpool/test_concurrency_pool.cpp:257:5: error: use of undeclared identifier ‘this_routine’; did you mean ‘oceanbase::lib::this_routine’?
this_routine::usleep(10000);
^~~~~~~~~~~~
oceanbase::lib::this_routine
/home/oceanbase/oceanbase/deps/oblib/src/lib/coro/routine.h:47:11: note: ‘oceanbase::lib::this_routine’ declared here
namespace this_routine {
^
/home/oceanbase/oceanbase/deps/oblib/unittest/lib/objectpool/test_concurrency_pool.cpp:269:5: error: use of undeclared identifier ‘this_routine’; did you mean ‘oceanbase::lib::this_routine’?
this_routine::usleep(10000);
^~~~~~~~~~~~
oceanbase::lib::this_routine
/home/oceanbase/oceanbase/deps/oblib/src/lib/coro/routine.h:47:11: note: ‘oceanbase::lib::this_routine’ declared here
namespace this_routine {
^
/home/oceanbase/oceanbase/deps/oblib/unittest/lib/objectpool/test_concurrency_pool.cpp:280:5: error: use of undeclared identifier ‘this_routine’; did you mean ‘oceanbase::lib::this_routine’?
this_routine::usleep(10000);
^~~~~~~~~~~~
oceanbase::lib::this_routine

but compile oceanbase/build_debug/unittest success

[100%] Built target test_macro_block_id
[100%] Linking CXX executable test_bloom_filter_data
[100%] Built target test_bloom_filter_data
[100%] Linking CXX executable test_ref_cnt
[100%] Built target test_ref_cnt
[100%] Linking CXX executable test_micro_block_index_cache
[100%] Built target test_micro_block_index_cache

version

cat /etc/redhat-release
Alibaba Group Enterprise Linux Server release 7.2 (Paladin)

uname -a
Linux 4.19.91-011.ali4000.alios7.x86_64 #1 SMP Fri Jun 4 21:54:18 CST 2021 x86_64 x86_64 x86_64 GNU/Linux

这个单测已经废弃了,我来删掉,感谢反馈。

问题已解决,拉取社区最新代码即可