Skip to content

Commit e7597e7

Browse files
author
abdulla-ashurov
committed
Update locust configuration files
1 parent 0f32f62 commit e7597e7

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

bench/locustfile.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -38,21 +38,21 @@
3838
def init_paraser(parser):
3939
# Set `include_in_web_ui` to False if you want to hide from the web UI
4040
parser.add_argument(
41-
"--dcl-hosts",
41+
"--write-hosts",
4242
metavar="WRITE_HOSTS",
4343
include_in_web_ui=True,
4444
default=DEFAULT_TARGET_HOST,
4545
help="Comma separated list of DCL hosts to target",
4646
)
4747
parser.add_argument(
48-
"--dcl-rest-hosts",
48+
"--read-hosts",
4949
metavar="READ_HOSTS",
5050
include_in_web_ui=True,
5151
default=DEFAULT_REST_HOST,
5252
help="Comma separated list of DCL REST hosts to target",
5353
)
5454
parser.add_argument(
55-
"--dcl-trustee-account-names",
55+
"--trustee-account-names",
5656
metavar="TRUSTEE_ACCOUNT_NAMES",
5757
include_in_web_ui=True,
5858
default=DEFAULT_TRUSTEE_ACCOUNT_NAME,

locust.conf

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
locustfile = bench/locustfile.py
2-
dcl-hosts = http://localhost:26657,http://localhost:26659,http://localhost:26661,http://localhost:26663
3-
dcl-rest-hosts = http://localhost:26640,http://localhost:26641,http://localhost:26642,http://localhost:26643
2+
write-hosts = http://localhost:26657,http://localhost:26659,http://localhost:26661,http://localhost:26663
3+
read-hosts = http://localhost:26640,http://localhost:26641,http://localhost:26642,http://localhost:26643
44
csv = dclbench
55
# csv-full-history = true
66
html = dclbench.stats.html

0 commit comments

Comments
 (0)