优化测试用例

This commit is contained in:
GoEdgeLab
2024-01-21 11:13:30 +08:00
parent 411329341a
commit 279b0dce5e
35 changed files with 439 additions and 81 deletions

View File

@@ -6,4 +6,6 @@ if [ -z "$TAG" ]; then
TAG="community"
fi
go test -v ../... -tags=${TAG}
# reference: https://pkg.go.dev/cmd/go/internal/test
go clean -testcache
go test -timeout 10s -tags="${TAG}" -cover ../...