Skip to content

Commit

Permalink
*: fix goleak internal/poll.runtime_pollWait (#43399)
Browse files Browse the repository at this point in the history
close #43387
  • Loading branch information
hawkingrei authored Apr 25, 2023
1 parent f64cc69 commit bec079e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions store/gcworker/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ go_test(
],
embed = [":gcworker"],
flaky = True,
race = "on",
shard_count = 30,
deps = [
"//ddl/placement",
Expand Down
1 change: 1 addition & 0 deletions store/gcworker/main_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ func TestMain(m *testing.M) {
goleak.IgnoreTopFunction("github.com/golang/glog.(*loggingT).flushDaemon"),
goleak.IgnoreTopFunction("github.com/lestrrat-go/httprc.runFetchWorker"),
goleak.IgnoreTopFunction("net/http.(*persistConn).writeLoop"),
goleak.IgnoreTopFunction("internal/poll.runtime_pollWait"),
}
callback := func(i int) int {
// wait for MVCCLevelDB to close, MVCCLevelDB will be closed in one second
Expand Down

0 comments on commit bec079e

Please sign in to comment.