Put 2m timeout on all unit tests.

This commit is contained in:
Tom Wilkie committed 2015-07-22 11:56:39 +00:00
1 parent 976641c3b6
commit 9e6d08c606
1 file changed
+1 -1
+1 -1
View File
@@ -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"