diff --git a/privilege/privileges/main_test.go b/privilege/privileges/main_test.go index fbd1ddd174195..f591389958fd5 100644 --- a/privilege/privileges/main_test.go +++ b/privilege/privileges/main_test.go @@ -30,7 +30,6 @@ func TestMain(m *testing.M) { goleak.IgnoreTopFunction("go.opencensus.io/stats/view.(*worker).start"), goleak.IgnoreTopFunction("net/http.(*persistConn).writeLoop"), goleak.IgnoreTopFunction("internal/poll.runtime_pollWait"), - goleak.IgnoreTopFunction("github.com/pingcap/tidb/privilege/privileges.(*JWKSImpl).LoadJWKS4AuthToken.func1"), } testsetup.SetupForCommonTest()