From 4f93dbc335e4b7cced4cc6fb48141665dfe3257a Mon Sep 17 00:00:00 2001 From: NicoYuan1986 <109071306+NicoYuan1986@users.noreply.github.com> Date: Mon, 31 Oct 2022 19:23:35 +0800 Subject: [PATCH] Modify test case due to the update of MilvusException (#20192) Signed-off-by: nico Signed-off-by: nico --- tests/python_client/testcases/test_insert.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/python_client/testcases/test_insert.py b/tests/python_client/testcases/test_insert.py index f00441b31..573af6de1 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): -- GitLab