Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

executor: kill tidb [session id] can't stop executors and release resources quickly #9844

Merged
merged 16 commits into from
Apr 1, 2019
Prev Previous commit
Next Next commit
reformat
  • Loading branch information
qw4990 committed Mar 27, 2019
commit 2a9f9d4b52e23a17af50dc29e354c1e674c4a81b
2 changes: 1 addition & 1 deletion executor/adapter_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ func (s *adapterTestSuite) TestCtxWatcher(c *C) {
ctx, cancel = context.WithCancel(context.Background())
we.Open(ctx)
c.Assert(e.openCnt, Equals, 1)
for i := 0; i < 10; i ++ {
for i := 0; i < 10; i++ {
we.Close()
cancel()
}
Expand Down