[skip ci] Add new params of benchmark (#10766)

Signed-off-by: wangting0128 <ting.wang@zilliz.com>
This commit is contained in:
wt 2021-10-27 18:54:32 +08:00 committed by GitHub
parent 727a0ac95e
commit ef1a28a34d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -50,6 +50,7 @@ def run_suite(run_type, suite, env_mode, env_params, timeout=None):
start_status = False
# Initialize the class of the reported metric
metric = api.Metric()
global_params.metric = metric
deploy_mode = env_params["deploy_mode"]
deploy_opology = env_params["deploy_opology"] if "deploy_opology" in env_params else None
env = get_env(env_mode, deploy_mode)