enhance: update pymilvus version (#38225)

Signed-off-by: nico <cheng.yuan@zilliz.com>
pull/38037/head^2
nico 2024-12-09 19:52:47 +08:00 committed by GitHub
parent 7a5aea116d
commit 224c2c8e6d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 4 additions and 4 deletions

View File

@ -27,8 +27,8 @@ pytest-parallel
pytest-random-order
# pymilvus
pymilvus==2.5.0rc121
pymilvus[bulk_writer]==2.5.0rc121
pymilvus==2.5.1rc4
pymilvus[bulk_writer]==2.5.1rc4
# for customize config test

View File

@ -1259,7 +1259,7 @@ class TestInsertInvalid(TestcaseBase):
elif data[i][dirty_i].__class__ is str:
tmp = data[i][dirty_i]
data[i][dirty_i] = random.randint(0, 1000)
error = {ct.err_code: 999, ct.err_msg: "expect string input, got: <class 'int'>"}
error = {ct.err_code: 999, ct.err_msg: "field (varchar) expects string input, got: <class 'int'>"}
collection_w.insert(data=data, check_task=CheckTasks.err_res, check_items=error)
data[i][dirty_i] = tmp
elif data[i][dirty_i].__class__ is bool:
@ -2206,7 +2206,7 @@ class TestUpsertInvalid(TestcaseBase):
elif data[i][dirty_i].__class__ is str:
tmp = data[i][dirty_i]
data[i][dirty_i] = random.randint(0, 1000)
error = {ct.err_code: 999, ct.err_msg: "expect string input, got: <class 'int'>"}
error = {ct.err_code: 999, ct.err_msg: "field (varchar) expects string input, got: <class 'int'>"}
collection_w.upsert(data=data, check_task=CheckTasks.err_res, check_items=error)
data[i][dirty_i] = tmp
elif data[i][dirty_i].__class__ is bool: