mirror of
https://gitee.com/milvus-io/milvus.git
synced 2026-02-02 01:06:41 +08:00
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>
This commit is contained in:
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…
x
Reference in New Issue
Block a user