Skip to content

Commit

Permalink
github: bump timeout duration for acceptance tests
Browse files Browse the repository at this point in the history
Last run failed after ~3h runtime, which is dangerously close to the
timeout previously set. While the logs don't show stack traces, it's
possible they did timeout, so to highten their chances to finish the
acutal tests, we bump the timeout to 5h, and raise the session duration
for the token to 6h.
  • Loading branch information
lbajolet-hashicorp authored and nywilken committed May 30, 2023
1 parent 983a651 commit 5904169
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/acceptance-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,11 +58,11 @@ jobs:
aws-region: "${{ secrets.AWS_ACC_TEST_REGION }}"
role-to-assume: "${{ secrets.AWS_ACC_TEST_ROLE }}"
role-session-name: "packer-aws-acceptance-tests"
role-duration-seconds: 14400 # 4h
role-duration-seconds: 21600 # 6h
- run: |
echo "Testing with Go ${{ needs.get-go-version.outputs.go-version }}"
PACKER_ACC=1 go test \
-timeout 3h \
-timeout 5h \
-count 1 \
-run "${{ github.event.inputs.run_pattern }}" \
./builder/ebs
Expand Down

0 comments on commit 5904169

Please sign in to comment.