mirror of https://github.com/milvus-io/milvus.git
enhance: update pymilvus version (#38225)
Signed-off-by: nico <cheng.yuan@zilliz.com>pull/38037/head^2
parent
7a5aea116d
commit
224c2c8e6d
|
@ -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
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue