提交 e2934425 编写于 作者: Y yudong.cai

MS-653 fix config unittest


Former-commit-id: 539f5c0b39981df7fc6a5a3f1d7ba03f606ea484
上级 1631ca57
......@@ -23,8 +23,6 @@
#include "utils/ValidationUtil.h"
#include "server/Config.h"
using namespace milvus;
namespace {
static const char *CONFIG_FILE_PATH = "./milvus/conf/server_config.yaml";
......@@ -37,7 +35,7 @@ static constexpr uint64_t GB = MB * 1024;
} // namespace
TEST(ConfigTest, CONFIG_TEST) {
server::ConfigMgr *config_mgr = server::YamlConfigMgr::GetInstance();
milvus::server::ConfigMgr *config_mgr = milvus::server::YamlConfigMgr::GetInstance();
milvus::Status s = config_mgr->LoadConfigFile("");
ASSERT_FALSE(s.ok());
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册