mirror of
https://gitee.com/milvus-io/milvus.git
synced 2025-12-07 17:48:29 +08:00
[skip e2e] Delete unused codes on locust_user file (#15082)
Signed-off-by: wangting0128 <ting.wang@zilliz.com>
This commit is contained in:
parent
19aca9a653
commit
1a77db024f
@ -60,7 +60,6 @@ def locust_executor(host, port, collection_name, connection_type="single", run_p
|
|||||||
tasks = run_params["tasks"]
|
tasks = run_params["tasks"]
|
||||||
for op, value in tasks.items():
|
for op, value in tasks.items():
|
||||||
# task = {eval("Tasks." + op): value["weight"]}
|
# task = {eval("Tasks." + op): value["weight"]}
|
||||||
# MyUser.tasks.update(task)
|
|
||||||
for i in range(int(value["weight"])):
|
for i in range(int(value["weight"])):
|
||||||
MyUser.tasks.append(eval("Tasks." + op))
|
MyUser.tasks.append(eval("Tasks." + op))
|
||||||
MyUser.params[op] = value["params"] if "params" in value else None
|
MyUser.params[op] = value["params"] if "params" in value else None
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user