Skip to content

Commit

Permalink
infoschema: make TestSlowQueryOOM stable (pingcap#33970)
Browse files Browse the repository at this point in the history
  • Loading branch information
crazycs520 authored Apr 14, 2022
1 parent 7443ec8 commit 96c0e24
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions infoschema/cluster_tables_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ import (
"github.com/pingcap/tidb/store/mockstore/mockstorage"
"github.com/pingcap/tidb/testkit"
"github.com/pingcap/tidb/util"
"github.com/pingcap/tidb/util/logutil"
"github.com/pingcap/tidb/util/pdapi"
"github.com/pingcap/tidb/util/resourcegrouptag"
"github.com/pingcap/tidb/util/set"
Expand Down Expand Up @@ -675,7 +674,6 @@ select * from t1;
config.StoreGlobalConfig(originCfg)
require.NoError(t, os.Remove(newCfg.Log.SlowQueryFile))
}()
require.NoError(t, logutil.InitLogger(newCfg.Log.ToLogConfig()))

tk.MustExec(fmt.Sprintf("set @@tidb_slow_query_file='%v'", f.Name()))
checkFn := func(quota int) {
Expand Down

0 comments on commit 96c0e24

Please sign in to comment.