Skip to content

Commit

Permalink
ddl: fix ttlManager leak in TestWriteReorgForColumnTypeChangeOnAmendT…
Browse files Browse the repository at this point in the history
…xn (#27047)
  • Loading branch information
sticnarf authored Aug 10, 2021
1 parent 6b8c153 commit 06dd0da
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions ddl/db_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -339,6 +339,11 @@ func (s *testSerialDBSuite) TestWriteReorgForColumnTypeChangeOnAmendTxn(c *C) {

var checkErr error
tk1 := testkit.NewTestKit(c, s.store)
defer func() {
if tk1.Se != nil {
tk1.Se.Close()
}
}()
hook := &ddl.TestDDLCallback{Do: s.dom}
times := 0
hook.OnJobUpdatedExported = func(job *model.Job) {
Expand Down

0 comments on commit 06dd0da

Please sign in to comment.