Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateTidbTestTopSQLSuite ¶
CreateTidbTestTopSQLSuite creates a test suite for top-sql test.
Types ¶
type TidbTestSuite ¶
type TidbTestSuite struct { *testserverclient.TestServerClient Tidbdrv *srv.TiDBDriver Server *srv.Server Domain *domain.Domain Store kv.Storage }
TidbTestSuite is a test suite for tidb
func CreateTidbTestSuite ¶
func CreateTidbTestSuite(t *testing.T) *TidbTestSuite
CreateTidbTestSuite creates a test suite for tidb
func CreateTidbTestSuiteWithCfg ¶
func CreateTidbTestSuiteWithCfg(t *testing.T, cfg *config.Config) *TidbTestSuite
CreateTidbTestSuiteWithCfg creates a test suite for tidb with config
func CreateTidbTestSuiteWithDDLLease ¶
func CreateTidbTestSuiteWithDDLLease(t *testing.T, ddlLease string) *TidbTestSuite
CreateTidbTestSuiteWithDDLLease creates a test suite with DDL lease for tidb.
Click to show internal directories.
Click to hide internal directories.