From b39ba02bf0aba45540cc425cbf54e1290af08ae1 Mon Sep 17 00:00:00 2001 From: Mathias Fredriksson Date: Wed, 14 Dec 2022 19:37:01 +0200 Subject: [PATCH] ci: Increase Go mock db test timeout to 5m (#5413) Our Windows test-runner often takes close to 3m to complete the test, this was producing a few false failures due to us adding tests over time and test times increasing. --- .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 30c6d12ae1..009b35fe6b 100644 --- a/.github/workflows/coder.yaml +++ b/.github/workflows/coder.yaml @@ -338,7 +338,7 @@ jobs: else echo ::set-output name=cover::false fi - gotestsum --junitfile="gotests.xml" --jsonfile="gotestsum.json" --packages="./..." --debug -- -parallel=8 -timeout=3m -short -failfast $COVERAGE_FLAGS + gotestsum --junitfile="gotests.xml" --jsonfile="gotestsum.json" --packages="./..." --debug -- -parallel=8 -timeout=5m -short -failfast $COVERAGE_FLAGS ret=$? if ((ret)); then # Eternalize test timeout logs because "re-run failed" erases