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

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

View File

@ -1168,6 +1168,11 @@ class TestIndexInvalid(object):
@pytest.mark.tags(CaseLabel.L2)
def test_drop_index_with_invalid_collection_name(self, connect, get_collection_name):
"""
target: test drop index interface for invalid scenario
method: drop index with invalid collection name
expected: raise exception
"""
collection_name = get_collection_name
with pytest.raises(Exception) as e:
connect.drop_index(collection_name)