Commit 00f0d714 authored by madengji's avatar madengji Committed by 33cn

race test to coverage too slow and more than 60min

parent 1b22a529
......@@ -12,7 +12,7 @@ mkdir -p "$COVERAGE_DIR"
# Create a coverage file for each package
for package in ${PKG_LIST}; do
go test -race -covermode=atomic -coverprofile "${COVERAGE_DIR}/${package##*/}.cov" "$package"
go test -covermode=count -coverprofile "${COVERAGE_DIR}/${package##*/}.cov" "$package"
done
# Merge the coverage profile files
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment