As stated in the title, when you invoke the test command with a trace option, the test always fails with a message concerning trace:
--- FAIL: TestAnd (0.45s)
leaks.go:78: found unexpected goroutines:
[Goroutine 6 in state trace reader (blocked), with runtime.goparkunlock on top of the stack:
goroutine 6 [trace reader (blocked)]:
runtime.goparkunlock(...)
c:/go/src/runtime/proc.go:310
As stated in the title, when you invoke the test command with a trace option, the test always fails with a message concerning trace:
Even when the test is empty like this one :