Skip to content

Commit

Permalink
testutil: leak: fix path for go routine filter
Browse files Browse the repository at this point in the history
add go.etcd.io/etcd/v3 to existing filters
  • Loading branch information
philips committed Apr 27, 2020
1 parent 925a9a7 commit cf9c568
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/testutil/leak.go
Original file line number Diff line number Diff line change
Expand Up @@ -125,8 +125,8 @@ func interestingGoroutines() (gs []string) {
strings.Contains(stack, "created by testing.RunTests") ||
strings.Contains(stack, "testing.Main(") ||
strings.Contains(stack, "runtime.goexit") ||
strings.Contains(stack, "go.etcd.io/etcd/pkg/testutil.interestingGoroutines") ||
strings.Contains(stack, "go.etcd.io/etcd/pkg/logutil.(*MergeLogger).outputLoop") ||
strings.Contains(stack, "go.etcd.io/etcd/v3/pkg/testutil.interestingGoroutines") ||
strings.Contains(stack, "go.etcd.io/etcd/v3/pkg/logutil.(*MergeLogger).outputLoop") ||
strings.Contains(stack, "github.com/golang/glog.(*loggingT).flushDaemon") ||
strings.Contains(stack, "created by runtime.gc") ||
strings.Contains(stack, "runtime.MHeap_Scavenger") {
Expand Down

0 comments on commit cf9c568

Please sign in to comment.