Skip to content

Commit

Permalink
minor fix
Browse files Browse the repository at this point in the history
Signed-off-by: zhuwenxing <[email protected]>
  • Loading branch information
zhuwenxing committed Oct 28, 2024
1 parent fe13e8d commit 60bbeb4
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions tests/python_client/testcases/test_full_text_search.py
Original file line number Diff line number Diff line change
Expand Up @@ -2804,16 +2804,20 @@ def test_full_text_search_with_search_iterator(
output_fields=["id", "text", "text_sparse_emb"],
limit=limit
)
pages = []
while True:
result = iterator.next()
if not result:
iterator.close()
break
else:
assert len(result) == batch_size
pages.append(len(result))
assert len(pages) > 0
# the latest one may not be full, but others should be full
for d in pages[:-1]:
assert d == batch_size


# @pytest.mark.skip("skip")
class TestSearchWithFullTextSearchNegative(TestcaseBase):
"""
******************************************************************
Expand Down

0 comments on commit 60bbeb4

Please sign in to comment.