From 756d22e9a2a3b15537876c8926989abdb016c1c1 Mon Sep 17 00:00:00 2001 From: Christian Lechner Date: Mon, 22 Jul 2024 07:43:10 +0200 Subject: [PATCH 1/2] chore: timeout for test runs --- .github/workflows/test.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index ca1276ec..5e50db64 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -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: From 1fe8f05bff7443a8c44706e01821de632166e29b Mon Sep 17 00:00:00 2001 From: Christian Lechner Date: Mon, 22 Jul 2024 08:38:23 +0200 Subject: [PATCH 2/2] chore: timeout for test runs --- .github/workflows/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 5e50db64..030a95a0 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -104,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