From d7b468ec6f6de1ddb220c333ca41fafd0e20f92c Mon Sep 17 00:00:00 2001 From: Gyuho Lee Date: Wed, 4 Apr 2018 13:45:12 -0700 Subject: [PATCH] test: bump up test timeout to 20m Recently, we've added bunch of tests... Signed-off-by: Gyuho Lee --- test | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/test b/test index db2ce994a..2bee76399 100755 --- a/test +++ b/test @@ -234,7 +234,7 @@ function cov_pass { mkdir -p "$COVERDIR" # run code coverage for unit and integration tests - GOCOVFLAGS="-covermode=set -coverpkg ${PKGS_COMMA} -v -timeout 15m" + GOCOVFLAGS="-covermode=set -coverpkg ${PKGS_COMMA} -v -timeout 20m" # shellcheck disable=SC2206 GOCOVFLAGS=($GOCOVFLAGS) failed="" @@ -292,7 +292,7 @@ function e2e_pass { # expectation could be different USERTIMEOUT="" if [ -z "${TIMEOUT}" ]; then - USERTIMEOUT="15m" + USERTIMEOUT="20m" else USERTIMEOUT="${TIMEOUT}" fi @@ -303,9 +303,9 @@ function e2e_pass { function integration_e2e_pass { echo "Running integration and e2e tests..." - go test -timeout 15m -v -cpu 1,2,4 "$@" "${REPO_PATH}/e2e" & + go test -timeout 20m -v -cpu 1,2,4 "$@" "${REPO_PATH}/e2e" & e2epid="$!" - go test -timeout 15m -v -cpu 1,2,4 "$@" "${REPO_PATH}/integration" & + go test -timeout 20m -v -cpu 1,2,4 "$@" "${REPO_PATH}/integration" & intpid="$!" wait $e2epid wait $intpid @@ -315,7 +315,7 @@ function integration_e2e_pass { function grpcproxy_pass { go test -timeout 20m -v ${RACE} -tags cluster_proxy -cpu 1,2,4 "$@" "${REPO_PATH}/integration" go test -timeout 20m -v ${RACE} -tags cluster_proxy -cpu 1,2,4 "$@" "${REPO_PATH}/clientv3/integration" - go test -timeout 15m -v -tags cluster_proxy "$@" "${REPO_PATH}/e2e" + go test -timeout 20m -v -tags cluster_proxy "$@" "${REPO_PATH}/e2e" } function release_pass {