fix dag scheduler destroy when init failed

This commit is contained in:
a1iive
2023-09-12 02:40:35 +00:00
committed by ob-robot
parent 45573c67e5
commit ffd6829b5b
9 changed files with 144 additions and 111 deletions

View File

@ -695,7 +695,7 @@ public:
wait();
int64_t elapsed_time = ObTimeUtility::current_time() - start_time;
COMMON_LOG(INFO, "stress test finished", K(elapsed_time / 1000));
int ret_code = system("grep ERROR test_dag_scheduler.log -q");
int ret_code = system("grep ERROR test_dag_scheduler.log -q | grep -v 'Fail to lock' | grep -v 'invalid tg id'");
ret_code = WEXITSTATUS(ret_code);
if (ret_code == 0)
ret = OB_ERR_UNEXPECTED;