From 5fcfe8ec6bd96d5673baca528050ac40a79c196e Mon Sep 17 00:00:00 2001 From: lance6716 Date: Tue, 21 Feb 2023 09:57:58 +0800 Subject: [PATCH] fix leak Signed-off-by: lance6716 --- executor/loadremotetest/main_test.go | 1 + 1 file changed, 1 insertion(+) diff --git a/executor/loadremotetest/main_test.go b/executor/loadremotetest/main_test.go index 82f95ed8dd112..6c929fd10d069 100644 --- a/executor/loadremotetest/main_test.go +++ b/executor/loadremotetest/main_test.go @@ -28,6 +28,7 @@ func TestMain(m *testing.M) { goleak.IgnoreTopFunction("go.opencensus.io/stats/view.(*worker).start"), goleak.IgnoreTopFunction("internal/poll.runtime_pollWait"), goleak.IgnoreTopFunction("net.(*netFD).connect.func2"), + goleak.IgnoreTopFunction("net/http.(*persistConn).writeLoop"), } goleak.VerifyTestMain(m, opts...) }