servertestkit

package
v1.1.0-beta.0...-70f5218 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 28, 2024 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateTidbTestTopSQLSuite

func CreateTidbTestTopSQLSuite(t *testing.T) *tidbTestTopSQLSuite

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL