File tree 2 files changed +4
-4
lines changed
scaletest/templates/scaletest-runner 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -269,9 +269,9 @@ data "coder_parameter" "load_scenario_run_concurrently" {
269
269
mutable = true
270
270
}
271
271
272
- data "coder_parameter" "load_scenario_concurrency_staggering " {
272
+ data "coder_parameter" "load_scenario_concurrency_stagger_delay_mins " {
273
273
order = 25
274
- name = " Load Scenario Concurrency Staggering "
274
+ name = " Load Scenario Concurrency Stagger Delay "
275
275
type = " number"
276
276
default = 3
277
277
description = " The number of minutes to wait between starting each load scenario when run concurrently."
@@ -596,7 +596,7 @@ resource "coder_agent" "main" {
596
596
SCALETEST_PARAM_CLEANUP_PREPARE : data.coder_parameter.cleanup_prepare.value ? " 1" : " 0" ,
597
597
SCALETEST_PARAM_LOAD_SCENARIOS : data.coder_parameter.load_scenarios.value,
598
598
SCALETEST_PARAM_LOAD_SCENARIO_RUN_CONCURRENTLY : data.coder_parameter.load_scenario_run_concurrently.value ? " 1" : " 0" ,
599
- SCALETEST_PARAM_LOAD_SCENARIO_CONCURRENCY_STAGGERING : " ${ data . coder_parameter . load_scenario_concurrency_staggering . value } " ,
599
+ SCALETEST_PARAM_LOAD_SCENARIO_CONCURRENCY_STAGGER_DELAY_MINS : " ${ data . coder_parameter . load_scenario_concurrency_stagger_delay_mins . value } " ,
600
600
SCALETEST_PARAM_LOAD_SCENARIO_SSH_TRAFFIC_DURATION : " ${ data . coder_parameter . load_scenario_ssh_traffic_duration . value } " ,
601
601
SCALETEST_PARAM_LOAD_SCENARIO_SSH_TRAFFIC_BYTES_PER_TICK : " ${ data . coder_parameter . load_scenario_ssh_bytes_per_tick . value } " ,
602
602
SCALETEST_PARAM_LOAD_SCENARIO_SSH_TRAFFIC_TICK_INTERVAL : " ${ data . coder_parameter . load_scenario_ssh_tick_interval . value } " ,
Original file line number Diff line number Diff line change @@ -323,7 +323,7 @@ for scenario in "${SCALETEST_PARAM_LOAD_SCENARIOS[@]}"; do
323
323
pid_to_scenario+=([" ${pids[-1]} " ]=" ${scenario} " )
324
324
# Stagger the start of each scenario to avoid a burst of load and deted
325
325
# problematic scenarios.
326
- sleep $(( SCALETEST_PARAM_LOAD_SCENARIO_CONCURRENCY_STAGGERING * 60 ))
326
+ sleep $(( SCALETEST_PARAM_LOAD_SCENARIO_CONCURRENCY_STAGGER_DELAY_MINS * 60 ))
327
327
continue
328
328
fi
329
329
You can’t perform that action at this time.
0 commit comments