提交 4b02b64a 编写于 作者: P peng.xu

Merge branch 'branch-0.5.0' into 'branch-0.5.0'

fix unittest hang issue

See merge request megasearch/milvus!594

Former-commit-id: 06192ca26fdc3b61f395b0f1863e46a34bfe595c
......@@ -62,6 +62,7 @@ class RpcHandlerTest : public testing::Test {
res_mgr->Connect("cpu", "gtx1660", PCIE);
res_mgr->Start();
engine::SchedInst::GetInstance()->Start();
engine::JobMgrInst::GetInstance()->Start();
engine::DBOptions opt;
......@@ -105,6 +106,7 @@ class RpcHandlerTest : public testing::Test {
void
TearDown() override {
server::DBWrapper::GetInstance().StopService();
engine::JobMgrInst::GetInstance()->Stop();
engine::ResMgrInst::GetInstance()->Stop();
engine::SchedInst::GetInstance()->Stop();
boost::filesystem::remove_all("/tmp/milvus_test");
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册