mirror of
https://gitee.com/milvus-io/milvus.git
synced 2024-12-02 11:59:00 +08:00
test: update pymilvus version and modify test cases (#32572)
issue: #32376 Signed-off-by: binbin lv <binbin.lv@zilliz.com>
This commit is contained in:
parent
b703d6cdbe
commit
5119292411
@ -12,7 +12,7 @@ allure-pytest==2.7.0
|
||||
pytest-print==0.2.1
|
||||
pytest-level==0.1.1
|
||||
pytest-xdist==2.5.0
|
||||
pymilvus==2.5.0rc15
|
||||
pymilvus==2.5.0rc17
|
||||
pytest-rerunfailures==9.1.1
|
||||
git+https://github.com/Projectplace/pytest-tags
|
||||
ndg-httpsclient
|
||||
|
@ -11550,14 +11550,14 @@ class TestCollectionHybridSearchValid(TestcaseBase):
|
||||
"expr": "int64 > 0"}
|
||||
req = AnnSearchRequest(**search_param)
|
||||
req_list.append(req)
|
||||
hybrid_res = collection_w.hybrid_search(req_list, rerank, default_limit,
|
||||
hybrid_res = collection_w.hybrid_search(req_list, rerank, default_limit-offset,
|
||||
offset=offset,
|
||||
check_task=CheckTasks.check_search_results,
|
||||
check_items={"nq": 1,
|
||||
"ids": insert_ids,
|
||||
"limit": default_limit})[0]
|
||||
"limit": default_limit-offset})[0]
|
||||
|
||||
assert hybrid_res_inside[0].distances == hybrid_res[0].distances
|
||||
assert hybrid_res_inside[0].distances[offset:] == hybrid_res[0].distances
|
||||
|
||||
@pytest.mark.tags(CaseLabel.L2)
|
||||
def test_hybrid_search_RRFRanker_empty_reqs(self):
|
||||
|
Loading…
Reference in New Issue
Block a user