Skip to content

Commit aeb9c52

Browse files
committed
add retry
1 parent 916c74d commit aeb9c52

File tree

1 file changed

+4
-0
lines changed
  • scaletest/templates/scaletest-runner/scripts

1 file changed

+4
-0
lines changed

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,11 @@ set_status Running
1414

1515
start_phase "Creating workspaces"
1616
if [[ ${SCALETEST_PARAM_SKIP_CREATE_WORKSPACES} == 0 ]]; then
17+
# Note that we allow up to 5 failures to bring up the workspace, since
18+
# we're creating a lot of workspaces at once and some of them may fail
19+
# due to network issues or other transient errors.
1720
coder exp scaletest create-workspaces \
21+
--retry 5 \
1822
--count "${SCALETEST_PARAM_NUM_WORKSPACES}" \
1923
--template "${SCALETEST_PARAM_TEMPLATE}" \
2024
--concurrency "${SCALETEST_PARAM_CREATE_CONCURRENCY}" \

0 commit comments

Comments
 (0)