[NOD-155] Increase timeout in test.sh (#280)

This commit is contained in:
Ori Newman 2019-05-01 17:36:19 +03:00 committed by Svarog
parent 8592ae9641
commit b4e7b59e7b

View File

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