mirror of
https://github.com/kaspanet/kaspad.git
synced 2025-06-05 21:56:50 +00:00
[NOD-155] Increase timeout in test.sh (#280)
This commit is contained in:
parent
8592ae9641
commit
b4e7b59e7b
2
test.sh
2
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
|
||||
|
Loading…
x
Reference in New Issue
Block a user