Skip to content

Commit

Permalink
tests: set short test timeout to 5m
Browse files Browse the repository at this point in the history
This will also keep it under the 10 minute no-ouptut limit set by Travis

Signed-off-by: Zygmunt Krynicki <me@zygoon.pl>
  • Loading branch information
zyga committed Jul 29, 2019
1 parent 625e306 commit 9b7a06d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion run-checks
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ if [ "$UNIT" = 1 ]; then
echo Running tests from "$PWD"
if [ "$short" = 1 ]; then
# shellcheck disable=SC2046
GOTRACEBACK=1 $goctest -short -v $(go list ./... | grep -v '/vendor/' )
GOTRACEBACK=1 $goctest -short -test.timeout 5m -v $(go list ./... | grep -v '/vendor/' )
else
# Prepare the coverage output profile.
rm -rf .coverage
Expand Down

0 comments on commit 9b7a06d

Please sign in to comment.