From 03d265c1e86690646bae39dd97684f61890ffabd Mon Sep 17 00:00:00 2001 From: wt Date: Thu, 6 Jan 2022 13:45:41 +0800 Subject: [PATCH] [skip e2e] Delete unused codes on utils (#14922) Signed-off-by: wangting0128 --- tests/benchmark/milvus_benchmark/utils.py | 1 - 1 file changed, 1 deletion(-) diff --git a/tests/benchmark/milvus_benchmark/utils.py b/tests/benchmark/milvus_benchmark/utils.py index 3d72ec069e..ea8929af8d 100644 --- a/tests/benchmark/milvus_benchmark/utils.py +++ b/tests/benchmark/milvus_benchmark/utils.py @@ -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"):