mirror of https://github.com/milvus-io/milvus.git
[skip ci] Remove unused code of benchmark (#10650)
Signed-off-by: wangting0128 <ting.wang@zilliz.com>pull/10652/head
parent
eaeb57479c
commit
67cf56b276
|
@ -433,11 +433,6 @@ class MilvusClient(object):
|
||||||
i = 0
|
i = 0
|
||||||
while i < timeout:
|
while i < timeout:
|
||||||
try:
|
try:
|
||||||
# row_count = self.count(collection_name=collection_name)
|
|
||||||
# if row_count:
|
|
||||||
# time.sleep(1)
|
|
||||||
# i = i + 1
|
|
||||||
# continue
|
|
||||||
res = self._milvus.has_collection(collection_name)
|
res = self._milvus.has_collection(collection_name)
|
||||||
if res:
|
if res:
|
||||||
time.sleep(1)
|
time.sleep(1)
|
||||||
|
|
Loading…
Reference in New Issue