[skip ci] Add comment to load partition (#8795)

Signed-off-by: ThreadDao <yufen.zong@zilliz.com>
This commit is contained in:
ThreadDao 2021-09-28 19:42:03 +08:00 committed by GitHub
parent 93fa86daf2
commit 4f3c40be1f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3214,6 +3214,11 @@ class TestLoadPartitionInvalid(object):
@pytest.mark.tags(CaseLabel.L2)
def test_load_partition_with_invalid_partition_name(self, connect, collection, get_partition_name):
"""
target: test load invalid partition
method: load partition with invalid partition name
expected: raise exception
"""
partition_name = get_partition_name
with pytest.raises(Exception) as e:
connect.load_partitions(collection, [partition_name])