File tree 1 file changed +5
-0
lines changed
scaletest/templates/scaletest-runner/scripts 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -243,6 +243,10 @@ for scenario in "${SCALETEST_PARAM_LOAD_SCENARIOS[@]}"; do
243
243
target_start=0
244
244
target_end=${target_count}
245
245
fi
246
+ # TODO: Remove this once the dashboard traffic command is fixed,
247
+ # (i.e. once images are no longer dumped into PWD).
248
+ mkdir -p dashboard
249
+ pushd dashboard
246
250
run_scenario_cmd " ${scenario} " coder exp scaletest dashboard \
247
251
--timeout " ${SCALETEST_PARAM_LOAD_SCENARIO_DASHBOARD_TRAFFIC_DURATION} m" \
248
252
--job-timeout " ${SCALETEST_PARAM_LOAD_SCENARIO_DASHBOARD_TRAFFIC_DURATION} m30s" \
@@ -251,6 +255,7 @@ for scenario in "${SCALETEST_PARAM_LOAD_SCENARIOS[@]}"; do
251
255
--target-users " ${target_start} :${target_end} " \
252
256
> " ${SCALETEST_RESULTS_DIR} /traffic-dashboard-output.log" &
253
257
pids+=($! )
258
+ popd
254
259
if [[ ${SCALETEST_PARAM_LOAD_SCENARIO_RUN_CONCURRENTLY} == 0 ]]; then
255
260
wait " ${pids[-1]} "
256
261
status=$?
You can’t perform that action at this time.
0 commit comments