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

plan: move explan_test.go to plan package. #3972

Merged
merged 2 commits into from
Aug 1, 2017
Merged

plan: move explan_test.go to plan package. #3972

merged 2 commits into from
Aug 1, 2017

Conversation

hanfei1991
Copy link
Member

will increase coverage to 82%

@hanfei1991
Copy link
Member Author

@zz-jason PTAL

@zz-jason
Copy link
Member

zz-jason commented Aug 1, 2017

LGTM

@zz-jason zz-jason added the status/LGT1 Indicates that a PR has LGTM 1. label Aug 1, 2017
Copy link
Member

@winoros winoros left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@XuHuaiyu XuHuaiyu added status/LGT2 Indicates that a PR has LGTM 2. and removed status/LGT1 Indicates that a PR has LGTM 1. labels Aug 1, 2017
@hanfei1991 hanfei1991 merged commit 289a906 into master Aug 1, 2017
@hanfei1991 hanfei1991 deleted the hanfei/test branch August 1, 2017 06:45
func (s *testExplainSuite) TestExplain(c *C) {
store, err := newStoreWithBootstrap()
c.Assert(err, IsNil)
tk := testkit.NewTestKit(c, store)
defer func() {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess you should defer store.Close(), and defer domain.Close(), otherwise testleak won't happy.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

make leak to verify that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status/LGT2 Indicates that a PR has LGTM 2.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants