From: Shengjing Zhu <zhsj@debian.org>
Date: Thu, 1 Aug 2024 14:17:17 +0800
Subject: Ignore etcd package without v3 suffix when checking leaking
 goroutines

Debian uses GOPATH mode to build.

Forwarded: not-needed
---
 client/pkg/testutil/leak.go | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/client/pkg/testutil/leak.go b/client/pkg/testutil/leak.go
index 3223503..3e11721 100644
--- a/client/pkg/testutil/leak.go
+++ b/client/pkg/testutil/leak.go
@@ -142,6 +142,8 @@ func interestingGoroutines() (gs []string) {
 			strings.Contains(stack, "runtime.goexit") ||
 			strings.Contains(stack, "go.etcd.io/etcd/client/pkg/v3/testutil.interestingGoroutines") ||
 			strings.Contains(stack, "go.etcd.io/etcd/client/pkg/v3/logutil.(*MergeLogger).outputLoop") ||
+			strings.Contains(stack, "go.etcd.io/etcd/client/pkg/testutil.interestingGoroutines") ||
+			strings.Contains(stack, "go.etcd.io/etcd/client/pkg/logutil.(*MergeLogger).outputLoop") ||
 			strings.Contains(stack, "github.com/golang/glog.(*loggingT).flushDaemon") ||
 			strings.Contains(stack, "created by runtime.gc") ||
 			strings.Contains(stack, "created by text/template/parse.lex") ||
