From eaf354144bd76c31daaeec1f23cc3f5dc84a85cb Mon Sep 17 00:00:00 2001 From: wt Date: Mon, 18 Oct 2021 17:52:48 +0800 Subject: [PATCH] [skip ci] remove unused code of timestr_to_int on benchmark (#10103) Signed-off-by: wangting0128 --- tests/benchmark/milvus_benchmark/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/benchmark/milvus_benchmark/utils.py b/tests/benchmark/milvus_benchmark/utils.py index ab2d0fb448..3aab66cf75 100644 --- a/tests/benchmark/milvus_benchmark/utils.py +++ b/tests/benchmark/milvus_benchmark/utils.py @@ -15,7 +15,7 @@ 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 + # time_int = 0 if isinstance(time_str, int) or time_str.isdigit(): time_int = int(time_str) elif time_str.endswith("s"):