mirror of
https://github.com/coder/coder.git
synced 2026-09-22 05:05:20 +08:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user