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.
This commit is contained in:
Mathias Fredriksson
2022-12-14 19:37:01 +02:00
committed by GitHub
parent 27386d49d0
commit b39ba02bf0
+1 -1
View File
@@ -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