fix the bug of canceled merge dag not deleted from dag_net_map

This commit is contained in:
obdev
2024-02-07 23:12:05 +00:00
committed by ob-robot
parent 1c20161f72
commit f774ffa26b
7 changed files with 302 additions and 195 deletions

View File

@ -1582,7 +1582,7 @@ TEST_F(TestDagScheduler, test_cancel_dag_func)
scheduler->cancel_dag(dag_array[i]);
}
EXPECT_EQ(true, scheduler->is_empty());
wait_scheduler();
EXPECT_EQ(0, MTL(ObDagWarningHistoryManager *)->size());
}
@ -1614,9 +1614,7 @@ TEST_F(TestDagScheduler, test_cancel_dag_net_func)
}
EXPECT_EQ(OB_SUCCESS, ret);
ob_usleep(5000 * 1000);
EXPECT_EQ(true, scheduler->is_empty());
wait_scheduler();
EXPECT_EQ(0, MTL(ObDagWarningHistoryManager *)->size());
}