Skip to content

Commit

Permalink
executor: fix unstable TestCheckActRowsWithUnistore (#33772)
Browse files Browse the repository at this point in the history
close #33768
  • Loading branch information
Yisaer authored Apr 7, 2022
1 parent d4f04b3 commit b9635e2
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions executor/explain_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ import (
"strings"
"testing"

"github.com/pingcap/tidb/config"
"github.com/pingcap/tidb/parser/auth"
plannercore "github.com/pingcap/tidb/planner/core"
"github.com/pingcap/tidb/session"
Expand Down Expand Up @@ -296,6 +297,10 @@ func checkActRows(t *testing.T, tk *testkit.TestKit, sql string, expected []stri
}

func TestCheckActRowsWithUnistore(t *testing.T) {
defer config.RestoreFunc()()
config.UpdateGlobal(func(conf *config.Config) {
conf.EnableCollectExecutionInfo = true
})
store, clean := testkit.CreateMockStore(t)
defer clean()
// testSuite1 use default mockstore which is unistore
Expand Down

0 comments on commit b9635e2

Please sign in to comment.