From b4208c479ffe77cde5a219e69b32d05f77054250 Mon Sep 17 00:00:00 2001 From: Anna Shaleva Date: Wed, 3 Apr 2024 12:34:41 +0300 Subject: [PATCH] workflows: increase tests timeout up to 25 minutes I'm tired of tests failing due to timeout, GitHub machines are too slow. I propose to use 25m for some time and see if we're still having timeouting tests. If so, then we need to refactor timeouting tests, because failure may be caused by inappropriate test design. If not, then we may try to reduce tests timeout to 20m later. Close #3367 along the way. Signed-off-by: Anna Shaleva --- .github/workflows/tests.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 3ca10f007..098fe4b43 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -104,7 +104,7 @@ jobs: cache: true - name: Write coverage profile - run: go test -timeout 15m -v ./... -coverprofile=./coverage.txt -covermode=atomic -coverpkg=./pkg...,./cli/... + run: go test -timeout 25m -v ./... -coverprofile=./coverage.txt -covermode=atomic -coverpkg=./pkg...,./cli/... - name: Upload coverage results to Codecov uses: codecov/codecov-action@v3 @@ -150,4 +150,4 @@ jobs: go-version: '${{ matrix.go_versions }}' - name: Run tests - run: go test -timeout 15m -v -race ./... + run: go test -timeout 25m -v -race ./...