mirror of
https://gitee.com/milvus-io/milvus.git
synced 2026-02-02 01:06:41 +08:00
update pymilvus version (#25646)
Signed-off-by: nico <cheng.yuan@zilliz.com>
This commit is contained in:
parent
f598372260
commit
cddadd4b27
@ -1020,6 +1020,7 @@ def install_milvus_operator_specific_config(namespace, milvus_mode, release_name
|
||||
|
||||
def get_wildcard_output_field_names(collection_w, output_fields):
|
||||
all_fields = [field.name for field in collection_w.schema.fields]
|
||||
output_fields = output_fields.copy()
|
||||
if "*" in output_fields:
|
||||
output_fields.remove("*")
|
||||
output_fields.extend(all_fields)
|
||||
|
||||
@ -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.2.13.dev3
|
||||
pymilvus==2.2.14.dev12
|
||||
pytest-rerunfailures==9.1.1
|
||||
git+https://github.com/Projectplace/pytest-tags
|
||||
ndg-httpsclient
|
||||
|
||||
@ -1076,14 +1076,14 @@ class TestInsertInvalid(TestcaseBase):
|
||||
error = {ct.err_code: 1, ct.err_msg: "Data type is not support."}
|
||||
mutation_res, _ = collection_w.insert(data=df, check_task=CheckTasks.err_res, check_items=error)
|
||||
|
||||
@pytest.mark.tags(CaseLabel.L1)
|
||||
@pytest.mark.tags(CaseLabel.L2)
|
||||
def test_insert_over_resource_limit(self):
|
||||
"""
|
||||
target: test insert over RPC limitation 64MB (67108864)
|
||||
method: insert excessive data
|
||||
expected: raise exception
|
||||
"""
|
||||
nb = 150000
|
||||
nb = 120000
|
||||
collection_name = cf.gen_unique_str(prefix)
|
||||
collection_w = self.init_collection_wrap(name=collection_name)
|
||||
data = cf.gen_default_dataframe_data(nb)
|
||||
|
||||
@ -1090,10 +1090,10 @@ class TestCollectionSearch(TestcaseBase):
|
||||
# 2. search
|
||||
log.info("test_search_normal: searching collection %s" % collection_w.name)
|
||||
search_params = {"metric_type": "", "params": {"nprobe": 10}}
|
||||
collection_w.search(vectors[:dedault_nq], default_search_field,
|
||||
collection_w.search(vectors[:default_nq], default_search_field,
|
||||
search_params, default_limit,
|
||||
check_task=CheckTasks.check_search_results,
|
||||
check_items={"nq": dedault_nq,
|
||||
check_items={"nq": default_nq,
|
||||
"ids": insert_ids,
|
||||
"limit": default_limit})
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user