diff --git a/test/units.sh b/test/units.sh index b7b65671..d1238fa4 100755 --- a/test/units.sh +++ b/test/units.sh @@ -4,7 +4,7 @@ set -e DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" SLOW=${SLOW-} -GO_TEST_ARGS="-tags netgo -cpu 4" +GO_TEST_ARGS="-tags netgo -cpu 4 -timeout 2m" if [ -n "$SLOW" -o "$1" = "-slow" ]; then GO_TEST_ARGS="$GO_TEST_ARGS -race -covermode=atomic"