Skip to content

Commit

Permalink
[helm] add burst config for load testing
Browse files Browse the repository at this point in the history
  • Loading branch information
sherry-x authored and aptos-bot committed Apr 13, 2022
1 parent d424832 commit f165482
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions terraform/testnet/testnet/templates/loadtest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,10 @@ spec:
- --duration={{ .config.duration }}
- --accounts-per-client={{ .config.accounts_per_client }}
- --workers-per-ac={{ .config.workers_per_ac }}
{{- if .config.enableBurst }}
- --burst
- --wait-millis={{ .config.waitMillis }}
{{- end }}
env:
- name: RUST_BACKTRACE
value: "1"
Expand Down
2 changes: 2 additions & 0 deletions terraform/testnet/testnet/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,8 @@ load_test:
duration: 300
accounts_per_client: 12
workers_per_ac: 64
enableBurst: false
waitMillis: 1000

# if enabled, faucet_test is synchronized with cluster_test traffic
# to prevent race on mint account
Expand Down

0 comments on commit f165482

Please sign in to comment.