Skip to content

Commit

Permalink
fix: run batch uses calc timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
sr4850 committed Jan 10, 2025
1 parent ecbca9f commit c7be5b5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/e2etest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ jobs:
--job-name ${{ env.JOB_NAME }} \
--job-queue ${{ env.BATCH_JOB_QUEUE }} \
--job-definition ${{ env.BATCH_JOB_DEFINITION }} \
--timeout "attemptDurationSeconds=$(( ${{ inputs.batch_timeout_minutes }} * 60 ))" \
--timeout "attemptDurationSeconds=$(( ${{ needs.Calculate-Timeout.outputs.timeout }} * 60 ))" \
--container-overrides '{
"command": [
"/bin/sh",
Expand Down Expand Up @@ -157,7 +157,7 @@ jobs:
- name: Wait for Job Completion
env:
JOB_ID: ${{ steps.submit-job.outputs.job_id }}
TIME_OUT: ${{ inputs.batch_timeout_minutes }}
TIME_OUT: ${{ needs.Calculate.Timeout.outputs.timeout }}
run: |
TIME_OUT=${{ env.TIME_OUT }}
JOB_ID=${{ env.JOB_ID }}
Expand Down

0 comments on commit c7be5b5

Please sign in to comment.