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

Signed-off-by: Binbin Lv <binbin.lv@zilliz.com>
This commit is contained in:
binbin 2021-09-18 11:27:50 +08:00 committed by GitHub
parent ccb57ba4b2
commit f075b0b88a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3045,6 +3045,11 @@ class TestLoadPartition:
@pytest.mark.tags(CaseLabel.L0) @pytest.mark.tags(CaseLabel.L0)
def test_load_partition_not_existed(self, connect, collection): def test_load_partition_not_existed(self, connect, collection):
"""
target: test load partition for invalid scenario
method: load not existed partition
expected: raise exception and report the error
"""
partition_name = gen_unique_str(uid_load) partition_name = gen_unique_str(uid_load)
try: try:
connect.load_partitions(collection, [partition_name]) connect.load_partitions(collection, [partition_name])