mirror of
https://gitee.com/milvus-io/milvus.git
synced 2025-12-06 17:18:35 +08:00
Add test cases of load and other functions (#23992)
Signed-off-by: nico <cheng.yuan@zilliz.com>
This commit is contained in:
parent
c29d9b1b84
commit
b04258b2d8
@ -238,6 +238,11 @@ class ResponseChecker:
|
||||
if check_items["_async"]:
|
||||
search_res.done()
|
||||
search_res = search_res.result()
|
||||
if check_items.get("output_fields", None):
|
||||
for field in check_items['output_fields']:
|
||||
assert field in search_res[0][0].entity._raw_data
|
||||
assert len(check_items['output_fields']) == len(search_res[0][0].entity._raw_data)
|
||||
log.info('search_results_check: Output fields of query searched is correct')
|
||||
if len(search_res) != check_items["nq"]:
|
||||
log.error("search_results_check: Numbers of query searched (%d) "
|
||||
"is not equal with expected (%d)"
|
||||
|
||||
@ -2727,7 +2727,7 @@ class TestLoadCollection(TestcaseBase):
|
||||
2.create collection with 2 shards
|
||||
3.insert and flush
|
||||
4.load with 2 replica number
|
||||
5.insert growng data
|
||||
5.insert growing data
|
||||
6.search and query
|
||||
expected: Verify search and query results
|
||||
"""
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user