mirror of
https://gitee.com/milvus-io/milvus.git
synced 2026-02-02 01:06:41 +08:00
Update the code of Load collection failure (#19103)
Signed-off-by: “nico” <cheng.yuan@zilliz.com> Signed-off-by: “nico” <cheng.yuan@zilliz.com>
This commit is contained in:
parent
43d367b7d8
commit
cf9ef26b97
@ -2064,7 +2064,7 @@ class TestLoadCollection(TestcaseBase):
|
||||
c_name = cf.gen_unique_str()
|
||||
collection_wr = self.init_collection_wrap(name=c_name)
|
||||
collection_wr.drop()
|
||||
error = {ct.err_code: 0,
|
||||
error = {ct.err_code: 1,
|
||||
ct.err_msg: "DescribeCollection failed: can't find collection: %s" % c_name}
|
||||
collection_wr.load(check_task=CheckTasks.err_res, check_items=error)
|
||||
|
||||
@ -2079,7 +2079,7 @@ class TestLoadCollection(TestcaseBase):
|
||||
c_name = cf.gen_unique_str()
|
||||
collection_wr = self.init_collection_wrap(name=c_name)
|
||||
collection_wr.drop()
|
||||
error = {ct.err_code: 0,
|
||||
error = {ct.err_code: 1,
|
||||
ct.err_msg: "DescribeCollection failed: can't find collection: %s" % c_name}
|
||||
collection_wr.release(check_task=CheckTasks.err_res, check_items=error)
|
||||
|
||||
@ -2141,7 +2141,7 @@ class TestLoadCollection(TestcaseBase):
|
||||
collection_wr.load()
|
||||
collection_wr.release()
|
||||
collection_wr.drop()
|
||||
error = {ct.err_code: 0,
|
||||
error = {ct.err_code: 1,
|
||||
ct.err_msg: "DescribeCollection failed: can't find collection: %s" % c_name}
|
||||
collection_wr.load(check_task=CheckTasks.err_res, check_items=error)
|
||||
collection_wr.release(check_task=CheckTasks.err_res, check_items=error)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user