mirror of https://github.com/milvus-io/milvus.git
[skip ci] Add comments for collection test case (#8196)
Signed-off-by: Binbin Lv <binbin.lv@zilliz.com>pull/8203/head
parent
ccb57ba4b2
commit
f075b0b88a
|
@ -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])
|
||||||
|
|
Loading…
Reference in New Issue