Skip to content

Commit bcb980d

Browse files
committed
Increase payload, fix delete timeout
1 parent b3f9cb3 commit bcb980d

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

scaletest/templates/scaletest-runner/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -630,7 +630,7 @@ resource "kubernetes_pod" "main" {
630630
}
631631
# Set the pod delete timeout to termination_grace_period_seconds + 1m.
632632
timeouts {
633-
delete = "${(local.workspace_pod_termination_grace_period_seconds + 120) / 60}s"
633+
delete = "${(local.workspace_pod_termination_grace_period_seconds + 120)}s"
634634
}
635635
spec {
636636
security_context {

scaletest/templates/scaletest-runner/scripts/run.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,15 +55,15 @@ else
5555
sleep "${delay}"
5656
annotate_grafana greedy_agent "${scenario}: Greedy agent"
5757

58-
# Produce load at about 1000MB/s.
58+
# Produce load at about 1000MB/s (25MB/40ms).
5959
set +e
6060
coder exp scaletest workspace-traffic \
6161
--template "${SCALETEST_PARAM_GREEDY_AGENT_TEMPLATE}" \
6262
--timeout "$((delay))s" \
6363
--job-timeout "$((delay))s" \
6464
--output json:"${SCALETEST_RESULTS_DIR}/traffic-${type}-greedy-agent.json" \
65-
--bytes-per-tick $((1024 * 1000)) \
66-
--tick-interval 1ms \
65+
--bytes-per-tick $((1024 * 1024 * 25)) \
66+
--tick-interval 40ms \
6767
"${args[@]}"
6868
status=${?}
6969

0 commit comments

Comments
 (0)