Skip to content

Commit

Permalink
*: skip mysql client goroutine leak detection in integration ddl
Browse files Browse the repository at this point in the history
  • Loading branch information
lcwangchao committed Dec 7, 2021
1 parent 53f33fa commit 8b930e6
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 8b930e6

Please sign in to comment.