[skip ci] Add coments of base file on benchmark (#9350)

Signed-off-by: wangting0128 <ting.wang@zilliz.com>
pull/9353/head
wt 2021-10-06 21:08:13 +08:00 committed by GitHub
parent 83228c35ad
commit adbdfcbce2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -56,6 +56,7 @@ class BaseRunner(object):
return self._run_as_group
def init_metric(self, name, collection_info=None, index_info=None, search_info=None, run_params=None, t="metric"):
# The locust test calls this method to pass the corresponding metric
self._metric.collection = collection_info
self._metric.index = index_info
self._metric.search = search_info