From 69481471ec3a4790ef6bced682ce3a72f9af75e7 Mon Sep 17 00:00:00 2001 From: yah01 Date: Mon, 14 Nov 2022 19:41:07 +0800 Subject: [PATCH] Remove unstable assertion for small segment indexed rows (#20569) Signed-off-by: yah01 Signed-off-by: yah01 --- tests/python_client/testcases/test_utility.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/python_client/testcases/test_utility.py b/tests/python_client/testcases/test_utility.py index 156989df75..8a77e6d60a 100644 --- a/tests/python_client/testcases/test_utility.py +++ b/tests/python_client/testcases/test_utility.py @@ -708,7 +708,9 @@ class TestUtilityBase(TestcaseBase): cw.create_index(default_field_name, default_index_params) cw.flush() 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 @pytest.mark.tags(CaseLabel.L1)