mirror of
https://gitee.com/milvus-io/milvus.git
synced 2026-01-07 19:31:51 +08:00
fix mysql db test bug
Former-commit-id: 517ac31e54b412259295db51f3b4c7ad42445f13
This commit is contained in:
parent
a9b5ec7ca2
commit
e22d86d069
@ -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;
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user