mirror of
https://gitee.com/milvus-io/milvus.git
synced 2024-11-30 19:08:30 +08:00
[skip ci] Add comments of drop func on benchmark (#9676)
Signed-off-by: wangting0128 <ting.wang@zilliz.com>
This commit is contained in:
parent
b38974ec0d
commit
8662d82d09
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user