diff --git a/session/session_test.go b/session/session_test.go index 30dfae52ef5c2..ca70da13faa4d 100644 --- a/session/session_test.go +++ b/session/session_test.go @@ -2420,7 +2420,7 @@ func (s *testSessionSuite) TestCommitRetryCount(c *C) { c.Assert(err, NotNil) } -func (s *testSessionSuite2) TestEnablePartition(c *C) { +func (s *testSessionSuite) TestEnablePartition(c *C) { tk := testkit.NewTestKitWithInit(c, s.store) tk.MustExec("set tidb_enable_table_partition=off") tk.MustQuery("show variables like 'tidb_enable_table_partition'").Check(testkit.Rows("tidb_enable_table_partition off"))