[FEAT MERGE] merge transfer

Co-authored-by: wxhwang <wxhwang@126.com>
Co-authored-by: godyangfight <godyangfight@gmail.com>
Co-authored-by: Tyshawn <tuyunshan@gmail.com>
This commit is contained in:
xuhuleon
2023-06-21 11:42:26 +00:00
committed by ob-robot
parent d06678002e
commit 9dae112952
1280 changed files with 149724 additions and 48813 deletions

View File

@ -10,7 +10,7 @@
* See the Mulan PubL v2 for more details.
*/
#define UNIITTEST_DEBUG
#define UNITTEST_DEBUG
#include "share/ob_occam_timer.h"
#include <gtest/gtest.h>
@ -206,7 +206,7 @@ TEST_F(TestObOccamTimer, hung) {
TEST_F(TestObOccamTimer, stop_and_wait) {
int ret = OB_SUCCESS;
ret = occam_timer->schedule_task_ignore_handle_repeat_and_immediately(20_ms, [](){ return false; });
ret = occam_timer->schedule_task_ignore_handle_repeat(20_s, [](){ return false; });
ASSERT_EQ(ret, OB_SUCCESS);
occam_timer->destroy();
}