Documentation
¶
Index ¶
- func DropTestTable(db *sql.DB, tableSQLs []string)
- func Run(sourceDB *sql.DB, targetDB *sql.DB, schema string, workerCount int, ...)
- func RunCase(src *sql.DB, dst *sql.DB, schema string)
- func RunDailyTest(db *sql.DB, tableSQLs []string, workerCount int, jobCount int, batch int)
- func RunMultiSource(srcs []*sql.DB, targetDB *sql.DB, schema string)
- func RunTest(src *sql.DB, dst *sql.DB, schema string, writeSrc func(src *sql.DB))
- func TruncateTestTable(db *sql.DB, tableSQLs []string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DropTestTable ¶
DropTestTable drops test table
func Run ¶
func Run(sourceDB *sql.DB, targetDB *sql.DB, schema string, workerCount int, jobCount int, batch int)
Run runs the daily test
func RunDailyTest ¶
RunDailyTest generates insert/update/delete sqls and execute
func RunMultiSource ¶
RunMultiSource runs the test that need multi instance TiDB, one instance for one *sql.DB* in srcs
func TruncateTestTable ¶
TruncateTestTable truncates test data
Types ¶
This section is empty.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.