[skip ci] Add comments for collection case (#8863)

Signed-off-by: Binbin Lv <binbin.lv@zilliz.com>
pull/8891/head
binbin 2021-09-29 19:18:42 +08:00 committed by GitHub
parent eae3efb027
commit f36ac84e79
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 0 deletions

View File

@ -2731,6 +2731,12 @@ class TestLoadCollection:
@pytest.mark.tags(CaseLabel.L2)
def test_load_release_collection(self, connect, collection):
"""
target: test load, release non-exist collection
method: 1. load, release and drop collection
2. load and release dropped collection
expected: raise exception
"""
collection_name = gen_unique_str(uid_load)
connect.create_collection(collection_name, cons.default_fields)
connect.insert(collection_name, cons.default_entities)