From 030f6c57182f18d706d696bd9a744de68f59a71f Mon Sep 17 00:00:00 2001 From: Mathias Fredriksson Date: Wed, 20 Jul 2022 21:04:37 +0300 Subject: [PATCH 1/2] fix: Increase CI timeout for postgres test The Go test timeout uses 20m, if we want to get a stack trace, we must allow the actions worker to run longer than that. --- .github/workflows/coder.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/coder.yaml b/.github/workflows/coder.yaml index 65622f5e2b13c..ace25ca8ef777 100644 --- a/.github/workflows/coder.yaml +++ b/.github/workflows/coder.yaml @@ -230,7 +230,7 @@ jobs: test-go-postgres: name: "test/go/postgres" runs-on: ubuntu-latest - timeout-minutes: 20 + timeout-minutes: 25 steps: - uses: actions/checkout@v3 From 865ae8a790092e4c0ccd0b810afa6f28af30ea8f Mon Sep 17 00:00:00 2001 From: Mathias Fredriksson Date: Wed, 20 Jul 2022 21:07:20 +0300 Subject: [PATCH 2/2] chore: Add comment explaining behavior --- .github/workflows/coder.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/coder.yaml b/.github/workflows/coder.yaml index ace25ca8ef777..29a57235ea813 100644 --- a/.github/workflows/coder.yaml +++ b/.github/workflows/coder.yaml @@ -230,6 +230,7 @@ jobs: test-go-postgres: name: "test/go/postgres" runs-on: ubuntu-latest + # This timeout must be greater than go test -timeout. timeout-minutes: 25 steps: - uses: actions/checkout@v3