On Mon, Feb 11, 2019 at 10:32 PM Cholerae Hu <cholerae...@gmail.com> wrote: > > Some bugs caused by data race cannot be detected by running unittest only > once. Before Go 1.12, I can use GOCACHE=off go test -race . to force it to > run without cache, but GOCACHE=on is required as of Go 1.12. So how can I > workaround this?
go test -count=1 (This is documented at https://golang.org/cmd/go). Ian -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.