Merge branch 'branch-0.4.0' into 'branch-0.4.0'

MS-533 Update resource_test to cover dump function

See merge request megasearch/milvus!525

Former-commit-id: 753a1d58cd6a1af4112d011ab950ede92b2c6c20
This commit is contained in:
jinhai 2019-09-09 20:17:17 +08:00
commit 14badd7c14
2 changed files with 2 additions and 3 deletions

View File

@ -109,6 +109,7 @@ Please mark all change in change log and use the ticket from JIRA.
- MS-528 - Hide some config used future
- MS-530 - Add unittest for SearchTask->Load
- MS-531 - Disable next version code
- MS-533 - Update resource_test to cover dump function
## New Feature
- MS-343 - Implement ResourceMgr

View File

@ -86,9 +86,7 @@ TEST_F(ResourceBaseTest, dump) {
ASSERT_FALSE(only_executor_->Dump().empty());
ASSERT_FALSE(both_enable_->Dump().empty());
ASSERT_FALSE(both_disable_->Dump().empty());
std::stringstream ss;
ss << only_loader_ << only_executor_ << both_enable_ << both_disable_;
ASSERT_FALSE(ss.str().empty());
std::cout << *only_loader_ << *only_executor_ << *both_enable_ << *both_disable_;
}
/************ ResourceAdvanceTest ************/