test: turn on -with-real-tikv inside realtikvtest.RunTestMain (#55690)

ref pingcap/tidb#55529
This commit is contained in:
lance6716
2024-08-27 17:13:47 +08:00
committed by GitHub
parent 4f85a3599a
commit 861607f62f

View File

@ -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) {