Resolve Alpine golang go test -race issue
This commit is contained in:
parent
c47132e63b
commit
13280b15e6
2
Makefile
2
Makefile
|
@ -31,7 +31,7 @@ test:
|
||||||
|
|
||||||
# Run data race detector
|
# Run data race detector
|
||||||
race:
|
race:
|
||||||
@go test -v -race -short ./...
|
GO111MODULE=on CGO_ENABLED=1 go test -v -race -short ./...
|
||||||
|
|
||||||
# Run memory sanitizer (need to ensure proper build flag is set)
|
# Run memory sanitizer (need to ensure proper build flag is set)
|
||||||
msan:
|
msan:
|
||||||
|
|
Loading…
Reference in New Issue