diff --git a/tests/python_client/requirements.txt b/tests/python_client/requirements.txt index 5812043a98..3bd8166898 100644 --- a/tests/python_client/requirements.txt +++ b/tests/python_client/requirements.txt @@ -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 diff --git a/tests/python_client/testcases/test_insert.py b/tests/python_client/testcases/test_insert.py index 45d00e3334..ac64dd38d1 100644 --- a/tests/python_client/testcases/test_insert.py +++ b/tests/python_client/testcases/test_insert.py @@ -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: "} + error = {ct.err_code: 999, ct.err_msg: "field (varchar) expects string input, got: "} 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: "} + error = {ct.err_code: 999, ct.err_msg: "field (varchar) expects string input, got: "} 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: