diff --git a/tests/python_client/testcases/test_insert.py b/tests/python_client/testcases/test_insert.py index f00441b31c..573af6de1f 100644 --- a/tests/python_client/testcases/test_insert.py +++ b/tests/python_client/testcases/test_insert.py @@ -913,7 +913,7 @@ class TestInsertAsync(TestcaseBase): """ collection_w = self.init_collection_wrap(name=cf.gen_unique_str(prefix)) df = cf.gen_default_dataframe_data() - err_msg = "partitionID of partitionName:p can not be find" + err_msg = "partition is not exist: p" future, _ = collection_w.insert(data=df, partition_name="p", _async=True) future.done() with pytest.raises(MilvusException, match=err_msg):