mirror of
https://gitee.com/milvus-io/milvus.git
synced 2026-02-02 01:06:41 +08:00
test: update test cases[2.5] (#42998)
pr: #42991 Signed-off-by: nico <cheng.yuan@zilliz.com>
This commit is contained in:
parent
53cd81b2aa
commit
5f7ef6d9dd
@ -2,7 +2,7 @@ import logging
|
||||
import random
|
||||
import time
|
||||
import pytest
|
||||
from pymilvus import DataType, Function, FunctionType
|
||||
from pymilvus import DataType, Function, FunctionType, FieldSchema, CollectionSchema
|
||||
from pymilvus.bulk_writer import RemoteBulkWriter, BulkFileType
|
||||
import numpy as np
|
||||
from pathlib import Path
|
||||
@ -2696,7 +2696,7 @@ class TestImportWithFunctionNegative(TestcaseBase):
|
||||
|
||||
@pytest.mark.parametrize("file_format", ["json", "parquet"])
|
||||
@pytest.mark.tags(CaseLabel.L2)
|
||||
def test_import_for_bm25_function_with_output_field(self, tei_endpoint, minio_host, file_format):
|
||||
def test_import_for_bm25_function_with_output_field(self, minio_host, file_format):
|
||||
"""
|
||||
target: test import data for bm25 with output field
|
||||
method: 1. create collection
|
||||
|
||||
@ -480,7 +480,7 @@ class TestQueryParams(TestcaseBase):
|
||||
|
||||
expr_3 = f'{ct.default_int64_field_name} in not [1, 2]'
|
||||
error_3 = {ct.err_code: 65535, ct.err_msg: "cannot parse expression: int64 in not [1, 2], "
|
||||
"error: value 'not[1,2]' in list cannot be a non-const expression"}
|
||||
"error: not can only apply on boolean: invalid parameter"}
|
||||
collection_w.query(expr_3, check_task=CheckTasks.err_res, check_items=error_3)
|
||||
|
||||
@pytest.mark.tags(CaseLabel.L1)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user