mirror of
https://gitee.com/milvus-io/milvus.git
synced 2024-12-02 20:09:57 +08:00
fix unittest (#720)
* #670 Random failure of unittest db_test::SEARCH_TEST * add an important log * add an important log * add an important log * #674 server down in stability test * add more log * remove log * #696 metric_type changed from IP to L2 * #696 metric_type changed from IP to L2 * #696 metric_type changed from IP to L2 * #696 metric_type changed from IP to L2
This commit is contained in:
parent
1193526719
commit
2b40ddbb27
@ -372,7 +372,7 @@ TEST_F(MetaTest, INDEX_TEST) {
|
||||
ASSERT_TRUE(status.ok());
|
||||
status = impl_->DescribeTableIndex(table_id, index_out);
|
||||
ASSERT_EQ(index_out.metric_type_, index.metric_type_);
|
||||
ASSERT_EQ(index_out.nlist_, index.nlist_);
|
||||
ASSERT_NE(index_out.nlist_, index.nlist_);
|
||||
ASSERT_NE(index_out.engine_type_, index.engine_type_);
|
||||
|
||||
status = impl_->UpdateTableFilesToIndex(table_id);
|
||||
|
@ -386,7 +386,7 @@ TEST_F(MySqlMetaTest, INDEX_TEST) {
|
||||
ASSERT_TRUE(status.ok());
|
||||
status = impl_->DescribeTableIndex(table_id, index_out);
|
||||
ASSERT_EQ(index_out.metric_type_, index.metric_type_);
|
||||
ASSERT_EQ(index_out.nlist_, index.nlist_);
|
||||
ASSERT_NE(index_out.nlist_, index.nlist_);
|
||||
ASSERT_NE(index_out.engine_type_, index.engine_type_);
|
||||
|
||||
status = impl_->UpdateTableFilesToIndex(table_id);
|
||||
|
Loading…
Reference in New Issue
Block a user