改进单元测试,以便于可以使用go test ../...进行执行
This commit is contained in:
@@ -11,4 +11,4 @@ go run -tags=${TAG} ../cmd/edge-node/main.go stop
|
||||
|
||||
# reference: https://pkg.go.dev/cmd/go/internal/test
|
||||
go clean -testcache
|
||||
go test -timeout 10s -tags="${TAG}" -cover ../...
|
||||
go test -timeout 60s -tags="${TAG}" -cover ../...
|
||||
Reference in New Issue
Block a user