Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: timeout for test runs #861

Merged
merged 2 commits into from
Jul 22, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,8 @@ jobs:
name: Terraform Provider Acceptance Tests
needs: build
runs-on: ubuntu-latest
timeout-minutes: 15
# Timeout for tests set to 25 minutes to safeguard long running tests (specifically for service instances)
timeout-minutes: 25
strategy:
fail-fast: false
matrix:
Expand All @@ -103,7 +104,7 @@ jobs:
- run: go mod download
- env:
TF_ACC: "1"
run: go test -v -cover -coverprofile=cover.out -timeout=900s -parallel=4 ./...
run: go test -v -cover -coverprofile=cover.out -timeout=1800s -parallel=4 ./...
timeout-minutes: 20
# Determine stripped version of Terraform
- run: echo "CURRENT_TF_VERSION=$(echo ${{ matrix.terraform }} | sed 's/[^a-zA-Z0-9]//g')" >> $GITHUB_ENV
Expand Down