From 4a866d5626806641c04b4f72b10daf61c31a28d4 Mon Sep 17 00:00:00 2001 From: wt Date: Fri, 24 Sep 2021 16:07:56 +0800 Subject: [PATCH] [skip ci] Add comment of benchmark file insert (#8486) Signed-off-by: wangting0128 --- tests/benchmark/milvus_benchmark/runners/insert.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/benchmark/milvus_benchmark/runners/insert.py b/tests/benchmark/milvus_benchmark/runners/insert.py index 236fe68e19..79e05c0f3a 100644 --- a/tests/benchmark/milvus_benchmark/runners/insert.py +++ b/tests/benchmark/milvus_benchmark/runners/insert.py @@ -48,6 +48,7 @@ class InsertRunner(BaseRunner): flush = False self.init_metric(self.name, collection_info, index_info, None) case_metric = copy.deepcopy(self.metric) + # set metric type as case case_metric.set_case_metric_type() case_metrics = list() case_params = list()