Skip to content

Commit

Permalink
*: fix goleak goleveldb/leveldb.(*DB).mpoolDrain
Browse files Browse the repository at this point in the history
Signed-off-by: Weizhen Wang <wangweizhen@pingcap.com>
  • Loading branch information
hawkingrei committed Mar 12, 2023
1 parent 145b7cd commit 233c71d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions br/pkg/restore/main_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ func TestMain(m *testing.M) {
goleak.IgnoreTopFunction("github.com/klauspost/compress/zstd.(*blockDec).startDecoder"),
goleak.IgnoreTopFunction("go.etcd.io/etcd/client/pkg/v3/logutil.(*MergeLogger).outputLoop"),
goleak.IgnoreTopFunction("go.opencensus.io/stats/view.(*worker).start"),
goleak.IgnoreTopFunction("github.com/pingcap/goleveldb/leveldb.(*DB).mpoolDrain"),
}

var err error
Expand Down

0 comments on commit 233c71d

Please sign in to comment.