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

MS-653 fix config unittest

See merge request megasearch/milvus!738

Former-commit-id: 9bee2ea797939c7d495611572351d02489d5f40c
pull/191/head
jinhai 2019-10-15 16:45:22 +08:00
commit 78a601c8bc
1 changed files with 1 additions and 3 deletions

View File

@ -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());