Skip to content

Commit

Permalink
*: skip mysql client goroutine leak detection in integration ddl (#30467
Browse files Browse the repository at this point in the history
)
  • Loading branch information
lcwangchao committed Dec 7, 2021
1 parent f82ca6a commit b585bf9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cmd/ddltest/main_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ func TestMain(m *testing.M) {
goleak.IgnoreTopFunction("go.opencensus.io/stats/view.(*worker).start"),
goleak.IgnoreTopFunction("internal/poll.runtime_pollWait"),
goleak.IgnoreTopFunction("net/http.(*persistConn).writeLoop"),
goleak.IgnoreTopFunction("github.com/go-sql-driver/mysql.(*mysqlConn).startWatcher.func1"),
goleak.IgnoreTopFunction("database/sql.(*DB).connectionOpener"),
}
goleak.VerifyTestMain(m, opts...)
}

0 comments on commit b585bf9

Please sign in to comment.