Skip to content

Commit

Permalink
store: fix goleak for syscall (#50142)
Browse files Browse the repository at this point in the history
close #50141
  • Loading branch information
hawkingrei authored Jan 5, 2024
1 parent 64741e9 commit 6bff4aa
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/store/main_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ import (
func TestMain(m *testing.M) {
testsetup.SetupForCommonTest()
opts := []goleak.Option{
goleak.IgnoreTopFunction("syscall.Syscall"),
goleak.IgnoreTopFunction("github.com/golang/glog.(*fileSink).flushDaemon"),
goleak.IgnoreTopFunction("github.com/bazelbuild/rules_go/go/tools/bzltestutil.RegisterTimeoutHandler.func1"),
goleak.IgnoreTopFunction("github.com/lestrrat-go/httprc.runFetchWorker"),
Expand Down

0 comments on commit 6bff4aa

Please sign in to comment.