mirror of
https://gitee.com/milvus-io/milvus.git
synced 2025-12-06 17:18:35 +08:00
MS-653 fix config unittest
Former-commit-id: fbe4b893ae3b84a860cd6a95c15bd05ead4d33a3
This commit is contained in:
parent
38747d9fae
commit
08416ed198
@ -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());
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user