diff --git a/executor/explain_test.go b/executor/explain_test.go
index <HASH>..<HASH> 100644
--- a/executor/explain_test.go
+++ b/executor/explain_test.go
@@ -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"
@@ -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
executor: fix unstable TestCheckActRowsWithUnistore (#<I>)

close pingcap/tidb#<I>