diff --git a/tests/python_client/requirements.txt b/tests/python_client/requirements.txt index 5812043a98675..3bd8166898fea 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 45d00e33344e6..ac64dd38d1c86 100644 --- a/tests/python_client/testcases/test_insert.py +++ b/tests/python_client/testcases/test_insert.py @@ -1259,7 +1259,7 @@ def test_insert_with_invalid_field_value(self, primary_field): 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 @@ def test_upsert_data_type_dismatch(self, primary_field): 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: