Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ignore blocked trace stack by default (#40)
When running tests with `-trace`, a background goroutine blocks on `runtime.ReadTrace`: ``` Goroutine 20 in state trace reader (blocked), with runtime.goparkunlock on top of the stack: goroutine 20 [trace reader (blocked)]: runtime.goparkunlock(...) (truncated)/go1.13.linux.amd64/src/runtime/proc.go:310 runtime.ReadTrace(0xc00008e048, 0xc0000160d0, 0x10) (truncated)/go1.13.linux.amd64/src/runtime/trace.go:395 +0x4ed runtime/trace.Start.func1(0x7b3dc0, 0xc00008e048) (truncated)/go1.13.linux.amd64/src/runtime/trace/trace.go:129 +0x47 created by runtime/trace.Start (truncated)/go1.13.linux.amd64/src/runtime/trace/trace.go:127 +0xd8 ``` Skip this stack by default. Run tests with `-trace` enabled to verify that this stack should be skipped. Fixes #39.
- Loading branch information