From 4635f568eaf93ae65c7de453fe62a44e00272af0 Mon Sep 17 00:00:00 2001 From: lhy1024 Date: Mon, 4 Nov 2024 17:42:37 +0800 Subject: [PATCH] leak Signed-off-by: lhy1024 --- pkg/testutil/leak.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/testutil/leak.go b/pkg/testutil/leak.go index d1329aef0e60..ba2ebb7fcb03 100644 --- a/pkg/testutil/leak.go +++ b/pkg/testutil/leak.go @@ -21,6 +21,7 @@ var LeakOptions = []goleak.Option{ goleak.IgnoreTopFunction("github.com/syndtr/goleveldb/leveldb.(*DB).mpoolDrain"), goleak.IgnoreTopFunction("google.golang.org/grpc.(*ccBalancerWrapper).watcher"), goleak.IgnoreTopFunction("google.golang.org/grpc.(*addrConn).resetTransport"), + goleak.IgnoreTopFunction("google.golang.org/grpc/internal/grpcsync.(*CallbackSerializer).run"), goleak.IgnoreTopFunction("go.etcd.io/etcd/pkg/logutil.(*MergeLogger).outputLoop"), goleak.IgnoreTopFunction("sync.runtime_notifyListWait"), // TODO: remove the below options once we fixed the http connection leak problems