提交 e22d86d0 编写于 作者: Z zhiru

fix mysql db test bug


Former-commit-id: 517ac31e54b412259295db51f3b4c7ad42445f13
上级 a9b5ec7c
......@@ -22,6 +22,7 @@ Please mark all change in change log and use the ticket from JIRA.
- MS-461 - Mysql meta unittest failed
- MS-462 - Run milvus server twices, should display error
- MS-463 - Search timeout
- MS-467 - mysql db test failed
## Improvement
- MS-327 - Clean code for milvus
......
......@@ -124,7 +124,12 @@ zilliz::milvus::engine::DBMetaOptions MySQLTest::getDBMetaOptions() {
zilliz::milvus::engine::Options MySQLDBTest::GetOptions() {
auto options = engine::OptionsFactory::Build();
options.meta.path = "/tmp/milvus_test";
options.meta.backend_uri = "mysql://root:Fantast1c@192.168.1.194:3306/";
options.meta.backend_uri = DBTestEnvironment::getURI();
if(options.meta.backend_uri.empty()) {
options.meta.backend_uri = "mysql://root:Fantast1c@192.168.1.194:3306/";
}
return options;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册