Documentation ¶
Index ¶
- Variables
- func AssignMysqlPortFromKs1ToKs2()
- func ClusterWrapper(isMulti bool) (int, error)
- func GetPasswordUpdateSQL(localCluster *cluster.LocalProcessCluster) string
- func KillTabletsInKeyspace(keyspace *cluster.Keyspace)
- func KillVtgateInstances()
- func TestInitialSharding(t *testing.T, keyspace *cluster.Keyspace, keyType querypb.Type, isMulti bool, ...)
- func WriteDbCredentialToTmp(tmpDir string) string
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ClusterInstance instance to be used for test with different params ClusterInstance *cluster.LocalProcessCluster )
Functions ¶
func AssignMysqlPortFromKs1ToKs2 ¶
func AssignMysqlPortFromKs1ToKs2()
AssignMysqlPortFromKs1ToKs2 assigns mysql port of all tablets of ks1 to all corresponding tablets of ks2
func ClusterWrapper ¶
ClusterWrapper common wrapper code for cluster
func GetPasswordUpdateSQL ¶
func GetPasswordUpdateSQL(localCluster *cluster.LocalProcessCluster) string
GetPasswordUpdateSQL returns the sql for password update
func KillTabletsInKeyspace ¶
KillTabletsInKeyspace kill the first shard tablets in ordered way
func TestInitialSharding ¶
func TestInitialSharding(t *testing.T, keyspace *cluster.Keyspace, keyType querypb.Type, isMulti bool, isExternal bool)
TestInitialSharding - main test which accepts different params for various test
func WriteDbCredentialToTmp ¶
WriteDbCredentialToTmp writes json format db credentials to tmp directory
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.