From 9e6d08c606e3a1fe602b561237c57011f0650756 Mon Sep 17 00:00:00 2001 From: Tom Wilkie Date: Wed, 22 Jul 2015 11:56:39 +0000 Subject: [PATCH] Put 2m timeout on all unit tests. --- test/units.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"