Skip to content

Commit

Permalink
executor: stable test TestSetDDLReorgBatchSize and TestSetDDLReorgWor…
Browse files Browse the repository at this point in the history
…kerCnt (#30480)
  • Loading branch information
wjhuang2016 authored Dec 7, 2021
1 parent e7aeae7 commit 2af4624
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions executor/ddl_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1205,7 +1205,7 @@ func (s *testSuite6) TestMaxHandleAddIndex(c *C) {
tk.MustExec("admin check table t1")
}

func (s *testSuite6) TestSetDDLReorgWorkerCnt(c *C) {
func (s *testSerialSuite) TestSetDDLReorgWorkerCnt(c *C) {
tk := testkit.NewTestKit(c, s.store)
tk.MustExec("use test")
err := ddlutil.LoadDDLReorgVars(context.Background(), tk.Se)
Expand Down Expand Up @@ -1244,7 +1244,7 @@ func (s *testSuite6) TestSetDDLReorgWorkerCnt(c *C) {
tk.MustQuery("select @@global.tidb_ddl_reorg_worker_cnt").Check(testkit.Rows("256"))
}

func (s *testSuite6) TestSetDDLReorgBatchSize(c *C) {
func (s *testSerialSuite) TestSetDDLReorgBatchSize(c *C) {
tk := testkit.NewTestKit(c, s.store)
tk.MustExec("use test")
err := ddlutil.LoadDDLReorgVars(context.Background(), tk.Se)
Expand Down

0 comments on commit 2af4624

Please sign in to comment.