mirror of
https://gitee.com/milvus-io/milvus.git
synced 2024-11-30 19:08:30 +08:00
Fix unittest failure (#714)
This commit is contained in:
parent
ebb4cedeb7
commit
b6f22c7370
@ -371,8 +371,8 @@ TEST_F(MetaTest, INDEX_TEST) {
|
||||
status = impl_->DropTableIndex(table_id);
|
||||
ASSERT_TRUE(status.ok());
|
||||
status = impl_->DescribeTableIndex(table_id, index_out);
|
||||
ASSERT_NE(index_out.metric_type_, index.metric_type_);
|
||||
ASSERT_NE(index_out.nlist_, index.nlist_);
|
||||
ASSERT_EQ(index_out.metric_type_, index.metric_type_);
|
||||
ASSERT_EQ(index_out.nlist_, index.nlist_);
|
||||
ASSERT_NE(index_out.engine_type_, index.engine_type_);
|
||||
|
||||
status = impl_->UpdateTableFilesToIndex(table_id);
|
||||
|
@ -385,8 +385,8 @@ TEST_F(MySqlMetaTest, INDEX_TEST) {
|
||||
status = impl_->DropTableIndex(table_id);
|
||||
ASSERT_TRUE(status.ok());
|
||||
status = impl_->DescribeTableIndex(table_id, index_out);
|
||||
ASSERT_NE(index_out.metric_type_, index.metric_type_);
|
||||
ASSERT_NE(index_out.nlist_, index.nlist_);
|
||||
ASSERT_EQ(index_out.metric_type_, index.metric_type_);
|
||||
ASSERT_EQ(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