Versions in this module Expand all Collapse all v1 v1.2.7 Mar 15, 2022 Changes in this version + func AssertUntil(until time.Duration, test testFn, error errorFn) + func IsAppVeyor() bool + func IsCI() bool + func IsTravis() bool + func SkipSlow(t testing.T) + func TestMultiplier() int64 + func Timeout(original time.Duration) time.Duration + func WaitForResult(test testFn, error errorFn) + func WaitForResultRetries(retries int64, test testFn, error errorFn) + type ACLConfig struct + Enabled bool + type Advertise struct + HTTP string + RPC string + Serf string + type ClientConfig struct + Enabled bool + Options map[string]string + type Consul struct + Address string + Auth string + Token string + type PortsConfig struct + HTTP int + RPC int + Serf int + type ResponseRecorder struct + func NewResponseRecorder() *ResponseRecorder + func (r *ResponseRecorder) Flush() + func (r *ResponseRecorder) Flushed() bool + func (r *ResponseRecorder) Header() http.Header + func (r *ResponseRecorder) HeaderMap() http.Header + func (r *ResponseRecorder) Read(p []byte) (int, error) + func (r *ResponseRecorder) Write(p []byte) (int, error) + func (r *ResponseRecorder) WriteHeader(statusCode int) + type ServerConfig struct + BootstrapExpect int + Enabled bool + RaftProtocol int + type ServerConfigCallback func(c *TestServerConfig) + type Telemetry struct + PrometheusMetrics bool + type TestServer struct + Config *TestServerConfig + HTTPAddr string + HTTPClient *http.Client + SerfAddr string + func NewTestServer(t testing.T, cb ServerConfigCallback) *TestServer + func (s *TestServer) Stop() + type TestServerConfig struct + ACL *ACLConfig + AdvertiseAddrs *Advertise + Client *ClientConfig + Consul *Consul + DataDir string + DevMode bool + DisableCheckpoint bool + LogLevel string + NodeName string + Ports *PortsConfig + Region string + Server *ServerConfig + Stderr io.Writer + Stdout io.Writer + Telemetry *Telemetry + Vault *VaultConfig + type VaultConfig struct + Enabled bool