mirror of
https://gitee.com/milvus-io/milvus.git
synced 2026-01-07 19:31:51 +08:00
[skip e2e] Delete unused codes on utils (#14922)
Signed-off-by: wangting0128 <ting.wang@zilliz.com>
This commit is contained in:
parent
2cddbb177c
commit
03d265c1e8
@ -17,7 +17,6 @@ logger = logging.getLogger("milvus_benchmark.utils")
|
||||
|
||||
def timestr_to_int(time_str):
|
||||
""" Parse the test time set in the yaml configuration file and convert it to int type """
|
||||
# time_int = 0
|
||||
if isinstance(time_str, int) or time_str.isdigit():
|
||||
time_int = int(time_str)
|
||||
elif time_str.endswith("s"):
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user