[skip ci] Add comments of drop func on benchmark (#9676)

Signed-off-by: wangting0128 <ting.wang@zilliz.com>
This commit is contained in:
wt 2021-10-11 19:40:38 +08:00 committed by GitHub
parent b38974ec0d
commit 8662d82d09
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -401,6 +401,12 @@ class MilvusClient(object):
return row_count
def drop(self, timeout=120, collection_name=None):
"""
drop steps:
1.drop collection
2.check collection exist
3.Set timeout to exit
"""
timeout = int(timeout)
if collection_name is None:
collection_name = self._collection_name