Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
wshwsh12 committed Apr 29, 2020
1 parent c2c8e0e commit 913059b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions expression/integration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ type testIntegrationSerialSuite struct {
testIntegrationSuiteBase
}

func (s *testIntegrationSuite) cleanEnv(c *C) {
func (s *testIntegrationSuiteBase) cleanEnv(c *C) {
tk := testkit.NewTestKit(c, s.store)
tk.MustExec("use test")
r := tk.MustQuery("show tables")
Expand All @@ -73,15 +73,15 @@ func (s *testIntegrationSuite) cleanEnv(c *C) {
}
}

func (s *testIntegrationSuite) SetUpSuite(c *C) {
func (s *testIntegrationSuiteBase) SetUpSuite(c *C) {
var err error
testleak.BeforeTest()
s.store, s.dom, err = newStoreWithBootstrap()
c.Assert(err, IsNil)
s.ctx = mock.NewContext()
}

func (s *testIntegrationSuite) TearDownSuite(c *C) {
func (s *testIntegrationSuiteBase) TearDownSuite(c *C) {
s.dom.Close()
s.store.Close()
testleak.AfterTest(c)()
Expand Down

0 comments on commit 913059b

Please sign in to comment.