未验证 提交 d26c8114 编写于 作者: B binbin 提交者: GitHub

[skip ci] Improve test comments (#10742)

Signed-off-by: NBinbin Lv <binbin.lv@zilliz.com>
上级 fbeec3a1
......@@ -1079,9 +1079,9 @@ class TestCollectionSearch(TestcaseBase):
def test_search_load_flush_load(self, nb, nq, dim, auto_id, _async):
"""
target: test search when load before flush
method: 1. search the collection
2. insert data and load
3. flush, and load
method: 1. insert data and load
2. flush, and load
3. search the collection
expected: search success with limit(topK)
"""
# 1. initialize with data
......@@ -1093,7 +1093,7 @@ class TestCollectionSearch(TestcaseBase):
# 4. flush and load
collection_w.num_entities
collection_w.load()
# 5. search for new data without load
# 5. search
vectors = [[random.random() for _ in range(dim)] for _ in range(nq)]
collection_w.search(vectors[:nq], default_search_field,
default_search_params, default_limit,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册