diff --git a/internal/core/unittest/test_array_bitmap_index.cpp b/internal/core/unittest/test_array_bitmap_index.cpp index 0877789363a35..66205b113939f 100644 --- a/internal/core/unittest/test_array_bitmap_index.cpp +++ b/internal/core/unittest/test_array_bitmap_index.cpp @@ -241,7 +241,6 @@ class ArrayBitmapIndexTest : public testing::Test { auto serializedSize = create_index_result->GetSerializedSize(); ASSERT_GT(memSize, 0); ASSERT_GT(serializedSize, 0); - ASSERT_GT(memSize, serializedSize); index_files = create_index_result->GetIndexFiles(); } diff --git a/internal/core/unittest/test_bitmap_index.cpp b/internal/core/unittest/test_bitmap_index.cpp index f7751ba585f11..078546ae86b9e 100644 --- a/internal/core/unittest/test_bitmap_index.cpp +++ b/internal/core/unittest/test_bitmap_index.cpp @@ -149,7 +149,6 @@ class BitmapIndexTest : public testing::Test { auto serializedSize = create_index_result->GetSerializedSize(); ASSERT_GT(memSize, 0); ASSERT_GT(serializedSize, 0); - ASSERT_GT(memSize, serializedSize); auto index_files = create_index_result->GetIndexFiles(); index::CreateIndexInfo index_info{}; diff --git a/internal/core/unittest/test_hybrid_index.cpp b/internal/core/unittest/test_hybrid_index.cpp index 74caca3bb256e..fb95b2c13f14a 100644 --- a/internal/core/unittest/test_hybrid_index.cpp +++ b/internal/core/unittest/test_hybrid_index.cpp @@ -154,7 +154,6 @@ class HybridIndexTestV1 : public testing::Test { auto serializedSize = create_index_result->GetSerializedSize(); ASSERT_GT(memSize, 0); ASSERT_GT(serializedSize, 0); - ASSERT_GT(memSize, serializedSize); index_files = create_index_result->GetIndexFiles(); } diff --git a/internal/core/unittest/test_indexing.cpp b/internal/core/unittest/test_indexing.cpp index e2f889160b462..d164d1cf29a3f 100644 --- a/internal/core/unittest/test_indexing.cpp +++ b/internal/core/unittest/test_indexing.cpp @@ -498,7 +498,6 @@ TEST_P(IndexTest, BuildAndQuery) { auto serializedSize = create_index_result->GetSerializedSize(); ASSERT_GT(memSize, 0); ASSERT_GT(serializedSize, 0); - ASSERT_GT(memSize, serializedSize); load_conf = generate_load_conf(index_type, metric_type, 0); load_conf["index_files"] = index_files; ASSERT_NO_THROW(vec_index->Load(milvus::tracer::TraceContext{}, load_conf)); @@ -568,7 +567,6 @@ TEST_P(IndexTest, Mmap) { auto serializedSize = create_index_result->GetSerializedSize(); ASSERT_GT(memSize, 0); ASSERT_GT(serializedSize, 0); - ASSERT_GT(memSize, serializedSize); load_conf = generate_load_conf(index_type, metric_type, 0); load_conf["index_files"] = index_files; load_conf["mmap_filepath"] = "mmap/test_index_mmap_" + index_type; @@ -621,7 +619,6 @@ TEST_P(IndexTest, GetVector) { auto serializedSize = create_index_result->GetSerializedSize(); ASSERT_GT(memSize, 0); ASSERT_GT(serializedSize, 0); - ASSERT_GT(memSize, serializedSize); new_index = milvus::index::IndexFactory::GetInstance().CreateIndex( create_index_info, file_manager_context); load_conf = generate_load_conf(index_type, metric_type, 0); @@ -724,7 +721,6 @@ TEST_P(IndexTest, GetVector_EmptySparseVector) { auto serializedSize = create_index_result->GetSerializedSize(); ASSERT_GT(memSize, 0); ASSERT_GT(serializedSize, 0); - ASSERT_GT(memSize, serializedSize); new_index = milvus::index::IndexFactory::GetInstance().CreateIndex( create_index_info, file_manager_context); load_conf = generate_load_conf(index_type, metric_type, 0); @@ -801,7 +797,6 @@ TEST(Indexing, SearchDiskAnnWithInvalidParam) { auto serializedSize = create_index_result->GetSerializedSize(); ASSERT_GT(memSize, 0); ASSERT_GT(serializedSize, 0); - ASSERT_GT(memSize, serializedSize); auto index_files = create_index_result->GetIndexFiles(); index.reset(); @@ -886,7 +881,6 @@ TEST(Indexing, SearchDiskAnnWithFloat16) { auto serializedSize = create_index_result->GetSerializedSize(); ASSERT_GT(memSize, 0); ASSERT_GT(serializedSize, 0); - ASSERT_GT(memSize, serializedSize); auto index_files = create_index_result->GetIndexFiles(); index.reset(); @@ -970,7 +964,6 @@ TEST(Indexing, SearchDiskAnnWithBFloat16) { auto serializedSize = create_index_result->GetSerializedSize(); ASSERT_GT(memSize, 0); ASSERT_GT(serializedSize, 0); - ASSERT_GT(memSize, serializedSize); auto index_files = create_index_result->GetIndexFiles(); index.reset(); diff --git a/internal/core/unittest/test_inverted_index.cpp b/internal/core/unittest/test_inverted_index.cpp index b9614606c63c4..8da7f2c078405 100644 --- a/internal/core/unittest/test_inverted_index.cpp +++ b/internal/core/unittest/test_inverted_index.cpp @@ -198,7 +198,6 @@ test_run() { auto serializedSize = create_index_result->GetSerializedSize(); ASSERT_GT(memSize, 0); ASSERT_GT(serializedSize, 0); - ASSERT_GT(memSize, serializedSize); index_files = create_index_result->GetIndexFiles(); } @@ -474,7 +473,6 @@ test_string() { auto serializedSize = create_index_result->GetSerializedSize(); ASSERT_GT(memSize, 0); ASSERT_GT(serializedSize, 0); - ASSERT_GT(memSize, serializedSize); index_files = create_index_result->GetIndexFiles(); }