From b4e7b59e7b9445c201bc6a4c0e5d8e2a1f3c1fef Mon Sep 17 00:00:00 2001 From: Ori Newman Date: Wed, 1 May 2019 17:36:19 +0300 Subject: [PATCH] [NOD-155] Increase timeout in test.sh (#280) --- test.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test.sh b/test.sh index 706f66609..8710ee254 100755 --- a/test.sh +++ b/test.sh @@ -17,7 +17,7 @@ echo 'mode: atomic' > ${COVERAGE_PATH} # We write coverage for every package to a temporary file so that we may append it to one global coverage file go list ./... | \ grep -v "vendor" | \ - xargs -n1 -I{} sh -c "go test -gcflags='-l' -timeout 20s -covermode=atomic -coverprofile=${COVERAGE_TEMP_PATH} {} && tail -n +2 ${COVERAGE_TEMP_PATH} >> ${COVERAGE_PATH}" | \ + xargs -n1 -I{} sh -c "go test -gcflags='-l' -timeout 60s -covermode=atomic -coverprofile=${COVERAGE_TEMP_PATH} {} && tail -n +2 ${COVERAGE_TEMP_PATH} >> ${COVERAGE_PATH}" | \ tee /tmp/test # Remove the temporary coverage file