Put 2m timeout on all unit tests.
This commit is contained in:
1 parent
976641c3b6
commit
9e6d08c606
1 file changed
+1
-1
+1
-1
@@ -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"
|
||||
|
||||
|
||||
Reference in new issue
Block a user