[skip e2e] Delete unused codes on locust_user file (#15082)

Signed-off-by: wangting0128 <ting.wang@zilliz.com>
pull/15087/head
wt 2022-01-10 13:41:36 +08:00 committed by GitHub
parent 19aca9a653
commit 1a77db024f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 1 deletions

View File

@ -60,7 +60,6 @@ def locust_executor(host, port, collection_name, connection_type="single", run_p
tasks = run_params["tasks"]
for op, value in tasks.items():
# task = {eval("Tasks." + op): value["weight"]}
# MyUser.tasks.update(task)
for i in range(int(value["weight"])):
MyUser.tasks.append(eval("Tasks." + op))
MyUser.params[op] = value["params"] if "params" in value else None