Documentation ¶
Index ¶
- func BuildConfigurations(configDir string, serverHosts []string, serverFrontendIP string, ...) error
- func ConfigureAndStart(t *testing.T, mysqlCredentials MysqlCredentials, ...) (clientIDs []string)
- func WaitForNewClientIDs(adminAddress string, startTime time.Time, numClients int) ([]string, error)
- type MysqlCredentials
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildConfigurations ¶
func BuildConfigurations(configDir string, serverHosts []string, serverFrontendIP string, numClients int, mysqlCredentials MysqlCredentials) error
BuildConfigurations builds Fleetspeak configuration files for provided servers and number of clients that are supposed to be started on different machines
func ConfigureAndStart ¶
func ConfigureAndStart(t *testing.T, mysqlCredentials MysqlCredentials, frontendAddress, msAddress string, numServers, numClients int) (clientIDs []string)
ConfigureAndStart configures and starts fleetspeak servers, clients, their services and FRR master server. These processes are automatically shut down when the test is done.
Types ¶
Click to show internal directories.
Click to hide internal directories.