|
|
@@ -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 {
|