mirror of https://github.com/milvus-io/milvus.git
[skip ci] Add comments for collection test case (#8381)
Signed-off-by: Binbin Lv <binbin.lv@zilliz.com>pull/8397/head
parent
9d567c5a36
commit
04ac27b552
|
@ -2644,6 +2644,11 @@ class TestLoadCollection:
|
|||
|
||||
@pytest.mark.tags(CaseLabel.L2)
|
||||
def test_load_collection_not_existed(self, connect, collection):
|
||||
"""
|
||||
target: test load invalid collection
|
||||
method: load not existed collection
|
||||
expected: raise exception
|
||||
"""
|
||||
collection_name = gen_unique_str(uid_load)
|
||||
try:
|
||||
connect.load_collection(collection_name)
|
||||
|
@ -2668,8 +2673,8 @@ class TestLoadCollection:
|
|||
def test_release_collection_not_load(self, connect, collection):
|
||||
"""
|
||||
target: test release collection without load
|
||||
method:
|
||||
expected: raise exception
|
||||
method: release collection without load
|
||||
expected: release successfully
|
||||
"""
|
||||
result = connect.insert(collection, default_entities)
|
||||
assert len(result.primary_keys) == default_nb
|
||||
|
|
Loading…
Reference in New Issue