test: turn on -with-real-tikv inside realtikvtest.RunTestMain (#55690)
ref pingcap/tidb#55529
This commit is contained in:
@ -62,6 +62,7 @@ var (
|
||||
// RunTestMain run common setups for all real tikv tests.
|
||||
func RunTestMain(m *testing.M) {
|
||||
testsetup.SetupForCommonTest()
|
||||
*WithRealTiKV = true
|
||||
flag.Parse()
|
||||
session.SetSchemaLease(5 * time.Second)
|
||||
config.UpdateGlobal(func(conf *config.Config) {
|
||||
|
||||
Reference in New Issue
Block a user