From dd21e710e1b4c3ee60b2bccb1c4322b740b95a62 Mon Sep 17 00:00:00 2001 From: Brandon Philips Date: Mon, 27 Apr 2020 06:09:09 +0000 Subject: [PATCH] testutil: leak: fix path for go routine filter add go.etcd.io/etcd/v3 to existing filters --- pkg/testutil/leak.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/testutil/leak.go b/pkg/testutil/leak.go index fad086572..74a0ebbe5 100644 --- a/pkg/testutil/leak.go +++ b/pkg/testutil/leak.go @@ -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") {