milvus/tests/restful_client_v2
PowderLi ee73e62202
fix: [restful v2] search result be cut while nq > 1 (#33339)
issue: #33099 #32837 #32419

1. len(search result) may be nq * topk, we need return all rather than
topk
2. the  in restful response payload keep the same with milvus error code

Signed-off-by: PowderLi <min.li@zilliz.com>
2024-05-27 14:25:41 +08:00
..
api fix: [restful v2] search result be cut while nq > 1 (#33339) 2024-05-27 14:25:41 +08:00
base fix: [restful v2] search result be cut while nq > 1 (#33339) 2024-05-27 14:25:41 +08:00
config test: add restful v2 test (#30984) 2024-03-02 11:03:03 +08:00
testcases fix: [restful v2] search result be cut while nq > 1 (#33339) 2024-05-27 14:25:41 +08:00
utils test: add case for sparse vector and verify group by (#32217) 2024-04-15 19:39:31 +08:00
conftest.py test: update restful v2 testcases (#31404) 2024-03-21 15:31:09 +08:00
pytest.ini test: enable import job test in ci (#31530) 2024-03-28 10:31:10 +08:00
README.md test: add restful v2 test (#30984) 2024-03-02 11:03:03 +08:00
requirements.txt test:fix retry for network error (#32804) 2024-05-07 14:01:29 +08:00

How to run the test cases

install milvus with authentication enabled

pip install -r requirements.txt
pytest testcases -m L0 -n 6 -v --endpoint http://127.0.0.1:19530 --minio_host 127.0.0.1