Documentation ¶
Index ¶
- Constants
- func GetReplicaGtidPurged(t *testing.T) string
- func GetReplicaPosition(t *testing.T) string
- func InitTestTable(t *testing.T)
- func InsertRowOnPrimary(t *testing.T, hint string)
- func LaunchCluster(setupType int, streamMode string, stripes int, cDetails *CompressionDetails) (int, error)
- func ReadRowsFromPrimary(t *testing.T) (msgs []string)
- func ReadRowsFromReplica(t *testing.T) (msgs []string)
- func ReadRowsFromTablet(t *testing.T, tablet *cluster.Vttablet) (msgs []string)
- func RemoveBackup(t *testing.T, backupName string)
- func TearDownCluster()
- func TestBackup(t *testing.T, setupType int, streamMode string, stripes int, ...) error
- func TestReplicaFullBackup(t *testing.T) (manifest *mysqlctl.BackupManifest, destroy func(t *testing.T))
- func TestReplicaIncrementalBackup(t *testing.T, incrementalFromPos mysql.Position, expectError string) (manifest *mysqlctl.BackupManifest, backupName string)
- func TestReplicaRestoreToPos(t *testing.T, restoreToPos mysql.Position, expectError string)
- type CompressionDetails
Constants ¶
View Source
const ( XtraBackup = iota BuiltinBackup Mysqlctld )
constants for test variants
Variables ¶
This section is empty.
Functions ¶
func GetReplicaGtidPurged ¶ added in v0.16.0
func GetReplicaPosition ¶ added in v0.16.0
func InitTestTable ¶ added in v0.16.0
func InsertRowOnPrimary ¶ added in v0.16.0
func LaunchCluster ¶
func LaunchCluster(setupType int, streamMode string, stripes int, cDetails *CompressionDetails) (int, error)
LaunchCluster : starts the cluster as per given params.
func ReadRowsFromPrimary ¶ added in v0.16.0
func ReadRowsFromReplica ¶ added in v0.16.0
func ReadRowsFromTablet ¶ added in v0.16.0
func RemoveBackup ¶ added in v0.16.0
func TestBackup ¶
func TestBackup(t *testing.T, setupType int, streamMode string, stripes int, cDetails *CompressionDetails, runSpecific []string) error
TestBackup runs all the backup tests
func TestReplicaFullBackup ¶ added in v0.16.0
func TestReplicaIncrementalBackup ¶ added in v0.16.0
Types ¶
Click to show internal directories.
Click to hide internal directories.