mirror of https://github.com/milvus-io/milvus.git
Modify test case due to the update of MilvusException (#20192)
Signed-off-by: nico <cheng.yuan@zilliz.com> Signed-off-by: nico <cheng.yuan@zilliz.com>pull/20215/head
parent
5f5fdb0789
commit
4f93dbc335
|
@ -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):
|
||||
|
|
Loading…
Reference in New Issue