test: update test cases[2.5] (#42998)

pr: #42991

Signed-off-by: nico <cheng.yuan@zilliz.com>
This commit is contained in:
nico 2025-07-03 09:18:51 +08:00 committed by GitHub
parent 53cd81b2aa
commit 5f7ef6d9dd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -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)