Remove unstable assertion for small segment indexed rows (#20569)

Signed-off-by: yah01 <yang.cen@zilliz.com>

Signed-off-by: yah01 <yang.cen@zilliz.com>
This commit is contained in:
yah01 2022-11-14 19:41:07 +08:00 committed by GitHub
parent a7ba416b5a
commit 69481471ec
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -708,7 +708,9 @@ class TestUtilityBase(TestcaseBase):
cw.create_index(default_field_name, default_index_params) cw.create_index(default_field_name, default_index_params)
cw.flush() cw.flush()
res, _ = self.utility_wrap.index_building_progress(c_name) res, _ = self.utility_wrap.index_building_progress(c_name)
assert res['indexed_rows'] == nb # The indexed_rows may be 0 due to compaction,
# remove this assertion for now
# assert res['indexed_rows'] == nb
assert res['total_rows'] == nb assert res['total_rows'] == nb
@pytest.mark.tags(CaseLabel.L1) @pytest.mark.tags(CaseLabel.L1)