mirror of https://github.com/milvus-io/milvus.git
[skip e2e] Delete unused codes on locust_user file (#15082)
Signed-off-by: wangting0128 <ting.wang@zilliz.com>pull/15087/head
parent
19aca9a653
commit
1a77db024f
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue