Skip to content

Commit

Permalink
chore(soak tests): Increases inner GH action timeout to match job-lev…
Browse files Browse the repository at this point in the history
…el timeout (#22038)

* Increases inner timeout to match job-level timeout

* Replace job timeout

Signed-off-by: Jesse Szwedko <[email protected]>

---------

Signed-off-by: Jesse Szwedko <[email protected]>
Co-authored-by: Jesse Szwedko <[email protected]>
  • Loading branch information
scottopell and jszwedko authored Dec 16, 2024
1 parent 7e93489 commit d8dcf6c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/regression.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ on:
env:
SINGLE_MACHINE_PERFORMANCE_API: ${{ secrets.SINGLE_MACHINE_PERFORMANCE_API }}
SMP_WARMUP_SECONDS: 70 # default is 45 seconds
SMP_TIMEOUT_MINUTES: 120
SMP_REPLICAS: 100 # default is 10

jobs:
Expand Down Expand Up @@ -415,7 +416,7 @@ jobs:
path: ${{ runner.temp }}/submission-metadata

- name: Await job
timeout-minutes: 70
timeout-minutes: ${{ env.SMP_TIMEOUT_MINUTES }}
env:
RUST_LOG: info
run: |
Expand All @@ -424,7 +425,7 @@ jobs:
${{ runner.temp }}/bin/smp --team-id ${{ secrets.SINGLE_MACHINE_PERFORMANCE_TEAM_ID }} job status \
--wait \
--wait-delay-seconds 60 \
--wait-timeout-minutes 70 \
--wait-timeout-minutes ${{ env.SMP_TIMEOUT_MINUTES }} \
--submission-metadata ${{ runner.temp }}/submission-metadata
- name: Handle cancellation if necessary
Expand Down

0 comments on commit d8dcf6c

Please sign in to comment.